Search code examples
emacssshemacs24trampplink

Emacs, Windows, Tramp, Plink still doesn't work


When I type Ctrl-X F /ssh:<hostname>/<filename>, I get the following error message:

plink -l <mydefaultusername> -ssh ssh && exit || exit
Unable to open connection:
Host does not exist

It seems like the hostname is lost and it tries to connect to a host named ssh. How do I fix this?


Solution

  • Your file name lacks a :. It should be /ssh:<hostname>:<filename>.