unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joao Cortes <joaooneillcortes@outlook.pt>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: tramp multi hop ssh, and shell
Date: Thu, 19 Dec 2019 10:17:51 +0000	[thread overview]
Message-ID: <DB8PR04MB57867EAF3A57FFD91B3DB67AA3520@DB8PR04MB5786.eurprd04.prod.outlook.com> (raw)


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:,

'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.

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?

Thanks



             reply	other threads:[~2019-12-19 10:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-19 10:17 Joao Cortes [this message]
2019-12-19 20:32 ` tramp multi hop ssh, and shell Michael Albinus
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=DB8PR04MB57867EAF3A57FFD91B3DB67AA3520@DB8PR04MB5786.eurprd04.prod.outlook.com \
    --to=joaooneillcortes@outlook.pt \
    --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).