[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tramp multi hop ssh, and shell
From: |
jonetsu |
Subject: |
Re: tramp multi hop ssh, and shell |
Date: |
Thu, 19 Dec 2019 15:49:12 -0500 |
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.