

The syntax for creating the SSH tunnel is ssh -L :: host] Set-up SSH Keysīefore you can set up your SSH tunnel, you need to ensure that you have configured and installed SSH keys on your running environment. See MySQL Workbench for more information.

Use MySQL Workbench to connect to MySQL ServerĪs an alternative to setting up an SSH tunnel manually, you can use MySQL Workbench to connect to a MySQL Server using TCP/IP over an SSH connection. The added benefit of this setup is that the communications between your local machine and the remote host is encrypted by the SSH connection. When these ports are linked, anything communicated to the local port is passed through SSH to the remote port likewise, any communication to the remote port is passed back through SSH to the local port.
#MYSQL WORKBENCH CONNECT TO REMOTE DATABASE PATCH#
This is a good thing because a database cannot reliably maintain the security and patch levels like SSH can. Your database instance is not directly accessible from outside the environment.
