Comment 6 for bug 181399

Revision history for this message
biiont (biiont) wrote :

Emacs-24.3.50.1 installed from "http://emacs.naquadah.org/" on Debian.

During sudoing with tramp "/sudo::" it asks for a password with a prompt like:
"Password for /sudo:root@mynetworkhostname:"

So tramp is trying to ssh to remote host with name "mynetworkhostname" as this is not localhost. This operation fails as I don't have sshd running.

My fix is to set "tramp-default-host" to localhost:
(setq tramp-default-host "localhost")

So it works now.