Celeb Glow
general | March 10, 2026

Replace ProxyJump in ~/.ssh/config

I'm am using ProxyJump in my ~/.ssh/config

Host jump User jane HostName 1.2.3.4 DynamicForward 1028
Host dev User bill HostName 5.6.7.8 ProxyJump jump

My colleague is using an old version of ssh (which they are unable to update). What would be the equivalent configuration to allow them to connect via the jump host? Would DynamicForward still work?

2

1 Answer

ProxyJump was added in OpenSSH 7.3 but is nothing more than a shorthand for using ProxyCommand, as in:

Host hidden-host ProxyCommand ssh proxy-host -W %h:%p

If your ssh version is even older, you might lack the -W option, in which case you can use nc, as in:

Host hidden-host ProxyCommand ssh proxy-host nc %h %p 2> /dev/null
5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy