OpenSSH Tunnel

mysql tunnel

$ ssh -L 3306:127.0.0.1:3306 user@example.org		
		

testing

$ mysql -h 127.0.0.1 -uroot -p test