tramp-devel
[Top][All Lists]
Advanced

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

Re: using auth-source for authentication


From: Michael Albinus
Subject: Re: using auth-source for authentication
Date: Tue, 13 May 2008 13:23:27 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux)

Ted Zlatanov <address@hidden> writes:

> Hi,

Hi Ted,

> I've set up auth-source.el, currently in Gnus CVS and Emacs CVS.  It
> lets users put their passwords in a single place.  Can it also be used
> by Tramp?  I don't know the Tramp internals, but basically you'd end up
> with lines like this
>
> machine xyz.com port scp login tzz password WHATEVER
>
> in your netrc/authinfo file.  The API is really simple, Tramp just has
> to call auth-source-user-or-password with "login" or "password" and the
> hostname and protocol.
>
> I can add this support to Tramp, but I thought I'd ask first because
> it's a pretty complicated package.

It would be OK with me. The best place to add it seems to be
`tramp-read-passwd'. Maybe the initial value of `tramp-default-method'
shall be adapted too.

For ports, Tramps uses numbers only. Do you support it as well?

> Thanks
> Ted

Best regards, Michael.





reply via email to

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