Skip to content

Instantly share code, notes, and snippets.

@kimor79
Created February 10, 2016 17:54
Show Gist options
  • Select an option

  • Save kimor79/c2da3652ad747c999842 to your computer and use it in GitHub Desktop.

Select an option

Save kimor79/c2da3652ad747c999842 to your computer and use it in GitHub Desktop.
ssh tunnelling
# The host you are jumping through
Host jump.host
DynamicForward 127.0.0.1:1234
# The hosts you want to ssh to
Host desired.host
ProxyCommand nc -x 127.0.0.1:1234 %h %p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment