2

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? – Michael Albinus Feb 24 '18 at 8:25
  • @MichaelAlbinus Yes, that works fine. – Nick Clifford Feb 24 '18 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? – Michael Albinus Feb 25 '18 at 8:50
  • @MichaelAlbinus Unfortunately, no. Trying to get logs from emacs --daemon doesn't help either. – Nick Clifford Feb 25 '18 at 17:04
  • Well, in this case you must debug Tramp. A starting point would be tramp-sh-file-name-handler. If you need help, pls contact me via the Tramp mailing list tramp-devel@gnu.org, this kind of communication would exceed stackexchange rules. – Michael Albinus Feb 26 '18 at 7:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.