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

Host jump                                                                          
  User jane                                                                       
  DynamicForward 1028
Host dev                                                                        
  User bill                                                                      
  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?

  • What version of ssh is your colleague using? – Kenster Sep 27 '17 at 12:58
  • It's the OSX 10.10 version - ssh 6.x something. – Sonia Hamilton Sep 28 '17 at 1:37

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
| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.