Created
May 19, 2016 05:34
-
-
Save integrii/8f88e38180d84969b88d1bf07deab98f to your computer and use it in GitHub Desktop.
the perfect ssh proxy command
This file contains hidden or 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 -D 8123 -f -C -q -N [email protected] | |
Explanation of arguments | |
-D: Tells SSH that we want a SOCKS tunnel on the specified port number (you can choose a number between 1025-65536) | |
-f: Forks the process to the background | |
-C: Compresses the data before sending it | |
-q: Uses quiet mode | |
-N: Tells SSH that no command will be sent once the tunnel is up | |
# https://www.digitalocean.com/community/tutorials/how-to-route-web-traffic-securely-without-a-vpn-using-a-socks-tunnel |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment