Skip to content

Instantly share code, notes, and snippets.

@PierreZ
Created March 2, 2015 14:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PierreZ/e75abcefdb1d018a4359 to your computer and use it in GitHub Desktop.
Save PierreZ/e75abcefdb1d018a4359 to your computer and use it in GitHub Desktop.
port forwarding trough ssh
#!/bin/bash
ssh root@162.243.1.37 -L 3306:127.0.0.1:3306 -N &
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment