Web lists-archives.com

Re: Can't connect to ssh host with Emacs tramp

On 1/4/2018 5:42 PM, David Karr wrote:
I've reviewed some of the Emacs tramp documentation, but I'm not sure
what the issue is.

If I'm using Cygwin, I don't need the putty components for this, do I?

No, I make ssh connections through Emacs tramp without putty.

When I attempt to open a text file in my homedir on a remote host,
which I can ssh to (passwordless) from the shell, it just times out.

The *Messages* buffer shows this (fqhn is the hostname):
Tramp: Opening connection for fqhn using scp...
Tramp: Sending command ‘exec ssh   -o ControlMaster=auto -o
ControlPath='tramp.%C' -o ControlPersist=no -e none fqhn’
Tramp: Waiting for prompts from remote shell...
Timeout reached, see buffer ‘*tramp/scp fqhn*’ for details
Tramp: Waiting for prompts from remote shell...failed
Tramp: Opening connection for fqhn using scp...failed

There doesn't appear to be a buffer named "*tramp/scp fqhn*".

Sorry, I don't know enough about tramp to diagnose this. Maybe it would help if you would say exactly what commands you gave. And does the problem occur if you start with 'emacs -Q'?


Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple