Created
June 29, 2013 18:50
-
-
Save aldoridhoni/5892214 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
# | |
# SSH port forwarding to server | |
# | |
remote_ip=8.8.8.8 | |
remote_user=root | |
local_port=22 | |
remote_port=2222 | |
ssh -f -N -R $remote_ip:$remote_port:localhost:$local_port $remote_user@$remote_ip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment