Skip to content

Instantly share code, notes, and snippets.

@Voronenko
Created September 17, 2014 06:10
Show Gist options
  • Save Voronenko/b9d73f77578a2d45add8 to your computer and use it in GitHub Desktop.
Save Voronenko/b9d73f77578a2d45add8 to your computer and use it in GitHub Desktop.
Handy reminder on port forwarding syntax over SSH
#ssh -fNg -L LOCALPORT:127.0.0.1:REMOTEPORT [email protected]
ssh -fNg -L 3307:127.0.0.1:3306 [email protected]
ssh -fNg -L 11000:127.0.0.1:10000 [email protected]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment