Scott's workaround in comment #5 works. If you don't want to remember all those flags and parameters, you can always create an entry in your ~/.ssh/config, like so:
Host mysql.tunnel HostName some-ssh-server.com User ssh_username IdentityFile ~/.ssh/config/id_rsa LocalForward 3307 127.0.0.1:3306 (of course you wouldn't need the IdentityFile line if you don't have any public/private keys configured) Then you could do the following to establish the tunnel: ssh mysql.tunnel If you don't want/need to execute commands on the remote SSH server, you could use: ssh -f -N mysql.tunnel Then, to close the tunnel: ps aux | grep mysql.tunnel kill -9 [insert the mysql.tunnel PID here] -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1385147 Title: Unable to connect to remote MySQL server via SSH using MySQLWorkbench To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-workbench/+bug/1385147/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs