tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Tramp on Windows XP


From: Joel Gwynn
Subject: Tramp on Windows XP
Date: Sat, 11 Jun 2005 12:19:57 -0400

Well, it seems like many people have this problem, but I haven't found
a solution to my incarnation.

I'm running emacs 21.3.1 on Windows XP with Tramp 2.1.3, and cygwin,
not sure which version.  The relevant lines in my .emacs file are as
follows:

(add-to-list 'load-path "/emacs-21.3/tramp/lisp/")
;; for Emacs
(add-to-list 'Info-default-directory-list "c:/emacs-21.3/tramp/info/")
;; for XEmacs
;; (add-to-list 'Info-directory-list "~/emacs/tramp/info/")
(require 'tramp)

(setq tramp-debug-buffer t)

(nconc (cadr (assq 'tramp-login-args (assoc "ssh" tramp-methods)))
       '(("bash" "-i")))
(setcdr (assq 'tramp-remote-sh (assoc "ssh" tramp-methods))
        '("bash -i"))

When I try to connect like so:
Ctrl-x Ctrl-f /address@hidden:/mypath

I get the message:
Tramp: Waiting 60s for prompt on remote shell

In my *tramp/ssh buffer, there is this command line:
ssh myhost.com -l myname  -e none bash -i || exit

In my *debug tramp/ssh buffer, I get this:
Sending command `ssh myhost.com -l myname -e none bash -i || exit'
# Waiting for prompts from remote shell
# Waiting 60s for prompt from remote shell on host qtik.com

If I paste that line into a dos prompt, I get a password prompt, which
when I enter my password, I get logged in.

I can do this.  Why can't emacs?

TIA
Joel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]