Hi,

with latest emacs trunk as of today, authentication via
`~/.authinfo.gpg' ceases to work for method `su':

/remote.host.org:/home

works while

/su::/home
/su:remote.host.org:/home

gives me a password prompt. The appropriate authinfo lines look like
this:

--8<--------------------------snip-------------------------->8---

machine remote.host.org port su login root password mysecret
machine localhost port su login root password mysecret

--8<--------------------------snap-------------------------->8---

Connections without su method work with both `ssh' and `scpc', `su' on
remote hosts is done with `ssh':

--8<--------------------------snip-------------------------->8---

(add-to-list 'tramp-default-method-alist
             '("\\`localhost\\'" "\\`root\\'" "su"))

(add-to-list 'tramp-default-proxies-alist
             '("\\.host\\.org\\'" "\\`root\\'" "/ssh:%h:"))

--8<--------------------------snap-------------------------->8---

Can anyone reproduce the problem or is there something wrong on my side?

Ulf



_______________________________________________
Tramp-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to