Skip to content

Instantly share code, notes, and snippets.

@asciimo
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save asciimo/8929680 to your computer and use it in GitHub Desktop.

Select an option

Save asciimo/8929680 to your computer and use it in GitHub Desktop.
Shell Goodies
# Tunneling MySQL over SSH
ssh -fNg -L 3307:127.0.0.1:3306 [email protected]
mysql -h 127.0.0.1 -P 3307 -u dbuser -p db
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment