Skip to content

Instantly share code, notes, and snippets.

@sophiaphillipa
Last active January 22, 2016 17:36
Show Gist options
  • Save sophiaphillipa/031d9825adadc5e3c5b7 to your computer and use it in GitHub Desktop.
Save sophiaphillipa/031d9825adadc5e3c5b7 to your computer and use it in GitHub Desktop.
Makes a tunnel into local port to the host ip port
ssh -fNg -L 3307:127.0.0.1:3306 vagrant@localhost -p 2222
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment