tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using sudo with authinfo file.


From: Michael Albinus
Subject: Re: Using sudo with authinfo file.
Date: Mon, 16 May 2011 17:45:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Michael Jacobson <address@hidden> writes:

> Hello, 

Hi,

> Any thoughts on why this is not reading my password from the authinfo
> file? If I try to connect via "/ssh:192.168.1.120" it reads my
> authinfo password and connects without prompting me. It is only when
> using "/sudo" that the I am prompted.  According to
> http://www.gnu.org/software/tramp/#Multi_002dhops it seems like this
> should work. Any idea what I am doing wrong?

With Emacs 23, auth-source.el has been added to Emacs core. IIRC, there
are changes in the interface. Likely, you need to add "port sudo" in
your ~/authinfo. See <http://www.gnu.org/software/tramp/#Password-handling>
for discussion.

> Thanks, 
>
> --Mike 

Best regards, Michael.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]