From: Michael Albinus <michael.albinus@gmx.de>
To: Joao Cortes <joaooneillcortes@outlook.pt>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: tramp multi hop ssh, and shell
Date: Thu, 19 Dec 2019 21:32:13 +0100 [thread overview]
Message-ID: <87zhfovyya.fsf@gmx.de> (raw)
In-Reply-To: <DB8PR04MB57867EAF3A57FFD91B3DB67AA3520@DB8PR04MB5786.eurprd04.prod.outlook.com> (Joao Cortes's message of "Thu, 19 Dec 2019 10:17:51 +0000")
Joao Cortes <joaooneillcortes@outlook.pt> writes:
Hi Joao,
> When hoping about an ssh gateway, 'tramp' performs a new connection each
> time I call 'compile'.
>
> For instance, If I do
>
> C-x C-f /ssh:me@taurus|/ssh:me@aries:,
I guess you mean /ssh:me@taurus|ssh:me@aries:
> 'tramp' correctly connects me to aries, asking for authentication for
> both machines. However, If I run 'compile' , or open a new shell with
> 'shell' while in an aries directory, Tramp reconnects to aries , asking
> for authentication again and again.
>
> If I do not hop about taurus, doing something like,
>
> C-x C-f /ssh:me@aries,
>
> running 'compile' does not cause a reconnection.
`compile' calls `start-file-process-shell-command', which runs a new
process. How do you believe, Tramp does not "cause a reconnection"?
> Can any one confirm this behaviour? If so, is this intendend?
>
> Does anyone know how to make emacs treat a multi hop like a non hoping
> connection?
What could happen is that Tramp does not remember the already provided
passwords in case of multihops. Could you pls confirm that you mean this
scenario?
> Thanks
Best regards, Michael.
next prev parent reply other threads:[~2019-12-19 20:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-19 10:17 tramp multi hop ssh, and shell Joao Cortes
2019-12-19 20:32 ` Michael Albinus [this message]
2019-12-19 20:49 ` jonetsu
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=87zhfovyya.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=help-gnu-emacs@gnu.org \
--cc=joaooneillcortes@outlook.pt \
/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).