tramp-devel
[Top][All Lists]
Advanced

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

Re: auth-source source password lookup for ssh + sudo


From: Michael Albinus
Subject: Re: auth-source source password lookup for ssh + sudo
Date: Sun, 20 Feb 2022 14:11:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

Hi Kai,

>> 2. /ssh:host.example.com|sudo::/etc/passwd
>>
>>    a. now there is only a password prompt without any auth-source
>>       lookup attempt:
>>
>>           `Password for /sudo:host.example.com: `
>>
>>    => Not sure, but it might make sense to start an auth-source lookup
>>       for just hostname/port instead of skipping it completely (for
>>       my own use case this would not make a difference since I don't
>>       store host (only) passwords).
>
> Same here. It *should* use auth-source-search first. Will investigate.

Should be fixed now. It was a little bit tricky, because
with-parsed-tramp-file-name and auth-source-search behave differently
when there is no user name.

Pushed to the repositories.

>> Thanks a lot, Best Regards and have a nice weekend,
>> Kai

Best regards, Michael.



reply via email to

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