unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: jonetsu <jonetsu@teksavvy.com>
To: help-gnu-emacs@gnu.org
Subject: Re: tramp multi hop ssh, and shell
Date: Thu, 19 Dec 2019 15:49:12 -0500	[thread overview]
Message-ID: <20191219154912.5369b44a@mistral> (raw)
In-Reply-To: <DB8PR04MB57867EAF3A57FFD91B3DB67AA3520@DB8PR04MB5786.eurprd04.prod.outlook.com>

On Thu, 19 Dec 2019 10:17:51 +0000
Joao Cortes <joaooneillcortes@outlook.pt> wrote:

> When hoping about an ssh gateway, 'tramp' performs a new connection
> each time I call 'compile'.

If before doing any of that you cd to the machine ?  Eg:

M-x cd
sshx:user@machine

Then perhaps open a dired C-x d.  Pick a .c file or anything, then run
M-x compile.

'compile' will take for granted the cd 'directory'.  At least it does
here, and doe snot ask again for a password.

Hope this helps.



      parent reply	other threads:[~2019-12-19 20:49 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
2019-12-19 20:49 ` jonetsu [this message]

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=20191219154912.5369b44a@mistral \
    --to=jonetsu@teksavvy.com \
    --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).