Re: TRAMP cannot connect to remote + proxyjump

Rishub Nagpal <[email protected]> Sat, 17 Jan 2026 18:13:55 +0100
Newsgroups gmane.emacs.tramp
Message-ID <CALCyNyesqQnQSDZXcYvGzr=3RBu+phN6P1VxewD62LeQH4k43A@mail.gmail.com>
Thank you Michael for the quick response.

I set 'tramp-use-connection-share' to 'nil' however this did not
resolve the issue

18:11:12.578707 tramp-process-actions (3) # Waiting for prompts from
remote shell...failed
18:11:12.578723 tramp-maybe-open-connection (3) # Opening connection
for lab03 using ssh...failed
18:11:12.960961 tramp-maybe-open-connection (6) # /bin/sh -i
18:11:12.961769 tramp-wait-for-regexp (6) #
#$
18:11:12.961853 tramp-maybe-open-connection (3) # Opening connection
for lab03 using ssh...
18:11:12.962002 tramp-send-command (6) # exec ssh -e none lab03 || exit
18:11:12.962028 tramp-process-actions (3) # Waiting for prompts from
remote shell...

Rishub

On Sat, Jan 17, 2026 at 6:01=E2=80=AFPM Michael Albinus <michael.albinus@gm=
x.de> wrote:
>
> Rishub Nagpal <[email protected]> writes:
>
> > Dear tramp-devel,
>
> Hi Rishub,
>
> > **Apologies if this is sent twice, I was not subscribed to the list
> > before sending this message and did not see it on archives so I assume
> > it was silently dropped.**
>
> [email protected] is a moderated mailing list. Messages from
> non-subscribed people must wait for approval from a
> moderator. Meanwhile, your first message has arrived as well.
>
> > I am trying to connect to a remote that is behind a proxyjump in my
> > SSH config. It is described as follows:
>
> See the Tramp manual at (info "(tramp) Ssh setup")
>
> --8<---------------cut here---------------start------------->8---
>    =E2=80=98tramp-use-connection-share=E2=80=99 should also be set to =E2=
=80=98nil=E2=80=99 or
> =E2=80=98suppress=E2=80=99 if you use the =E2=80=98ProxyCommand=E2=80=99 =
or =E2=80=98ProxyJump=E2=80=99 options in your
> =E2=80=98ssh=E2=80=99 configuration.
> --8<---------------cut here---------------end--------------->8---
>
> I suppose this is the reason of your problem.
>
> > Any ideas on what to do? Will be happy to provide additional logs or co=
ntext
> > Rishub
>
> Best regards, Michael.