General Linux

From wiki.tamerz.com
Jump to: navigation, search

Easy SSH tunneling.

MySQL:

   $ autossh -M 0 -o "ServerAliveInterval 30" -o "ServerAliveCountMax 3" -L 5000:localhost:3306 user@server.domain.com