Skip to content

Instantly share code, notes, and snippets.

@mgadzhi
Created April 15, 2016 16:24
Show Gist options
  • Save mgadzhi/c4f889a2b699e15e310e9074e20bde10 to your computer and use it in GitHub Desktop.
Save mgadzhi/c4f889a2b699e15e310e9074e20bde10 to your computer and use it in GitHub Desktop.
SSH port forwarding
# There is no access from local computer to hostB
# There is an access from local computer to hostA
# There is an access from hostA to hostB
ssh -L 9000:<hostB>:<port> <hostA>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment