Skip to content

Instantly share code, notes, and snippets.

@Apkawa
Created November 29, 2012 12:24
Show Gist options
  • Save Apkawa/4168685 to your computer and use it in GitHub Desktop.
Save Apkawa/4168685 to your computer and use it in GitHub Desktop.
Command cheatsheet
#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