help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Multi-hop access keeps asking for password on second machine


From: Michael Albinus
Subject: Re: Multi-hop access keeps asking for password on second machine
Date: Tue, 19 Nov 2024 09:48:10 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Luiz Romário Santana Rios <luizromario@tecgraf.puc-rio.br> writes:

Hi Luiz,

> I use Tramp to access my remote work machine from home. Our machines are
> only accessible through the comapny's internal network, so we either have
> to use a VPN or double-hop to be able to access them. Both methods work
> fine, but double-hopping doesn't seem to remember the password of the
> second machine and Emacs keeps asking me for it multiple times per session
> (every time I compile, every time eglot runs, etc). It seems
> ~/.authinfo.gpg only applies to the first hop not to any subsequent hops.
>
> Can I solve this or is this a known limitation?

Which Tramp version do you use?

~/.authinfo.gpg should handle multi-hops, but I'd like to know how it
looks like. Is a sudo hop part of it?

Anyway, a few days ago I rewrote Tramp password handling (due to a bug
found in context of bug#74105). It is also related to the multi-hop
scenario. So it might be worth to check this new version.

Do you have a chance to test a recent checkout of Emacs (aka 31.0.50) or
Tramp (aka 2.8.0-pre)? If not, you could wait some few days until the
end of this month. Tramp 2.7.1.5, containing this fix, will appear on
GNU ELPA then.

If you run already the current Tramp version, 2.7.1.4, from GNU ELPA, I
could send you the respective patch for test.

Best regards, Michael.



reply via email to

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