Sample Header Ad - 728x90

SSH tunnel via MySQL Workbench

9 votes
2 answers
9884 views
my new production server is only visible via ssh double tunnel. I can reach **targetHost** over Ubuntu's 14.04 console simply executing command ssh targetHost and than executing mysql cli on remote machine but I'd like to get to MySQL db over gui Workbench. How to configure connection in Workbench to achieve it? My **.ssh/config**: Host targetHost, firewallHost User username IdentityFile /home/michalszulc/.ssh/id_rsa Host targetHost proxycommand ssh -W %h:%p firewallHost Host firewallHost hostname firewallHost.example.com port 2201 passwordauthentication no controlmaster auto controlpath ~/ Host targetHost Hostname 123.123.123.123
Asked by Michal_Szulc (266 rep)
Sep 26, 2016, 03:17 PM
Last activity: Apr 6, 2019, 01:52 AM