I just installed Emacs on my Windows machine for remote file editing using Tramp. However, I noticed than whenever I try to connect to a remote server (C-x C-f /ssh:home:), Tramp just displays Opening connection for home using ssh... \ and completely hangs Emacs. I can't pull up the debug buffer with (setq tramp-verbose 10) since the entire application freezes.

I'm using Win32-OpenSSH and the ssh and scp executables are both in my PATH.

My ~/.ssh/config:

Host home
        HostName xx.xx.xx.xx
        IdentityFile ~/.ssh/home_rsa
        User nick
        Port xx
  • Have you tried to connect the remote server via ssh from whatever appears to be a command line on Windows? Feb 24, 2018 at 8:25
  • @MichaelAlbinus Yes, that works fine. Feb 24, 2018 at 13:35
  • Hard to say then what happens. Do you see a chance to interrupt the hanging Emacs, in order to get the traces? Sending several C-g in a row? Feb 25, 2018 at 8:50
  • @MichaelAlbinus Unfortunately, no. Trying to get logs from emacs --daemon doesn't help either. Feb 25, 2018 at 17:04
  • 1
    I'm having the same issue with plink :(
    – yorodm
    Oct 18, 2018 at 15:34


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.