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
Bugs, which is subscribed to 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
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs