I have 2 operating systems: Windows XP and Linux Slackware.
In both operating systems I have the following text in ~/.ssh/config
:
Host beta
HostName <server IP>
User beta
Port 22
I can connect to ssh directly from shells, using the command: ssh beta
. When I run C-x C-f
and then /ssh:beta:/home/beta
in Linux it works, the directory is opened in dired. On Windows it hangs. In *Messages*
buffer I get the following:
Tramp: Opening connection for beta using ssh...
Tramp: Sending command `ssh -o ControlMaster=auto -o ControlPath='tramp.%r@%h:%p' -o ControlPersist=no -e none beta && exit || exit'
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for beta using ssh...failed
How to fix?
sshx
tramp method with a Cygwin-based ssh client, so try that? (orplink
if you're using PuTTY).OpenSSH_6.2p2, OpenSSL 1.0.1e 11 Feb 2013
. It works both from cygwin bash shell and from Windows command prompt.(setq tramp-verbose 10)
. Rerun your test. There will be a Tramp debug buffer, which shall tell us the story.