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.

** Changed in: emacs-snapshot (Ubuntu)
       Status: Invalid => Opinion

-- 
You received this bug notification because you are a member of Ubuntu
Emacs Lisp, which is subscribed to emacs-snapshot in Ubuntu.
https://bugs.launchpad.net/bugs/181399

Title:
  Tramp cannot access files via sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/emacs-snapshot/+bug/181399/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-elisp
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-elisp
More help   : https://help.launchpad.net/ListHelp

Reply via email to