Created
January 9, 2018 16:33
-
-
Save Turux/6e9f653f44bfda6cec81398e2618757a to your computer and use it in GitHub Desktop.
Bash script to open a Proxy SOCKS tunnel from your machine to a remote server (B) passing through another machine (A)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh -v -N -D 8888 -oProxyCommand="ssh -W %h:%p userA@machineA" userB@machineB |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment