SSH tunnel for mySQL
ssh -f -L 3306:127.0.0.1:3306 username@servername.com sleep 120
Should auto-disconnect when it’s no longer in use.
TextSnippets > kenzie > ssh
1801 users tagging and storing useful source code snippets
Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)
ssh -f -L 3306:127.0.0.1:3306 username@servername.com sleep 120