unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Luiz Romário Santana Rios" <luizromario@tecgraf.puc-rio.br>
To: help-gnu-emacs@gnu.org
Subject: Multi-hop access keeps asking for password on second machine
Date: Mon, 18 Nov 2024 18:06:40 -0300	[thread overview]
Message-ID: <CAHV7BWE2dOJYx48DnMvjrKozvARPrsdArZ4HOey4ExvJthYNjg@mail.gmail.com> (raw)

(Please cc me when replying as I'm not subscribed to the list)

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?


             reply	other threads:[~2024-11-18 21:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-18 21:06 Luiz Romário Santana Rios [this message]
2024-11-19  8:48 ` Multi-hop access keeps asking for password on second machine Michael Albinus
2024-11-19 13:59   ` Luiz Romário Santana Rios
2024-11-19 15:32     ` Luiz Romário Santana Rios
2024-11-19 16:55       ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHV7BWE2dOJYx48DnMvjrKozvARPrsdArZ4HOey4ExvJthYNjg@mail.gmail.com \
    --to=luizromario@tecgraf.puc-rio.br \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).