Created
November 29, 2012 12:24
-
-
Save Apkawa/4168685 to your computer and use it in GitHub Desktop.
Command cheatsheet
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
#port forwading | |
ssh -L 4040:localhost:4040 server -f | |
#port forwarding from server2 to client use server1 | |
ssh -L 3306:localhost:13306 server1 -f "ssh -L 13306:localhost:3306 server2 -f" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment