Created
December 21, 2020 22:09
-
-
Save Harduim/c3898ccc712938eb3880439a0b035fef to your computer and use it in GitHub Desktop.
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
# Dynamically binds port 1080 on localhost to a remote ssh server. | |
# can be used as a socks 5 proxy | |
# usage ./ssh_proxy.sh user host port | |
ssh -f -N -n -D localhost:1080 -p $3 -l $1 $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment