Skip to content

ProxyJump does not behave as ProxyCommand #1629

Discussion options

You must be logged in to vote

Thanks a lot for your report. I'm not able to replicate this. As you noticed, ProxyJump is just a translation to ProxyCommand, but devil is in the details here. Maybe what is going on is that when you use ProxyCommand, you are doing that translation yourself so you are passing everything properly but not with ProxyJump. One thing I have noticed:

'ssh -W [url from proxyhost]:22 remotehost'

I think this should actually be:
'ssh -W [url from remotehost]:22 proxyhost'

First you connect to the Proxy, and instruct it to create a stdio tunnel to remotehost, and remotehost is "Remotehost" for the Proxy. So you have them the flipped. If you send the Host configuration we may be able to help further.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@IsaacNez
Comment options

@carloscabanero
Comment options

Answer selected by IsaacNez
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Help needed from the maintainers of the repository
2 participants
Converted from issue

This discussion was converted from issue #1624 on November 10, 2022 13:10.