← Back to team overview

ubuntu-elisp team mailing list archive

[Bug 181399] Re: Tramp cannot access files via sudo


Emacs- 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

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.

  Tramp cannot access files via sudo

To manage notifications about this bug go to: