Skip to content

Instantly share code, notes, and snippets.

@romach
Last active October 4, 2017 17:13
Show Gist options
  • Save romach/e1eccee04b8b24ce73b178c34186e05f to your computer and use it in GitHub Desktop.
Save romach/e1eccee04b8b24ce73b178c34186e05f to your computer and use it in GitHub Desktop.
Create ssh tunnel
# forvard local 9000 port to remote 3306 port on 123.456.789.12
ssh -L 9000:localhost:3306 [email protected] -p 22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment