Skip to content

Instantly share code, notes, and snippets.

@dwaynemac
Created December 16, 2010 18:47
Show Gist options
  • Save dwaynemac/743787 to your computer and use it in GitHub Desktop.
Save dwaynemac/743787 to your computer and use it in GitHub Desktop.
Make ssh tunnel from mysql server to local machine on port 3007
ssh -L 3307:127.0.0.1:3306 USERNAME@SERVER
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment