== easy ==ssh root@server "mysqldump -u root -pxxx dbname" > file.sql
== tunnel ssh ==ssh -fNg -L 3307:127.0.0.1:3306 myuser@remotehost.commysql -h 127.0.0.1 -P 3307 -u dbuser -p db