SSH (Secure Shell Host) connection is established between an SSH server and a client, which is used to access remote machines and execute commands.
The SSH protocol offers SSH tunneling to provide secure data transmission. Encryption of transmitted data ensures its safety and integrity.
SSH connection includes the following stages:
1. Established connection between an SSH server and a MySQL server.
2. Successful authentication between the SSH server and the MySQL server. There are two types of authentication:
3. Data exchange between the client and the MySQL server through the SSH server.
1. Make sure you have an SSH Server installed and set up. If you don’t, refer to Install and set up an SSH server.
2. In the Database menu, select New Connection to open the Database Connection Properties dialog.
3. Go to the Security tab, select the Use security protocol checkbox, then select Use SSH.
4. Select the Password authentication checkbox and enter the login information required to connect to the SSH server:
Note
Select the Save password checkbox if you do not want to be prompted to re-enter the password next time you open this connection.
5. Go the General tab and enter your login information to connect to your MySQL server:
6. Specify the default Database from the drop-down list. To see all databases, select the Show all databases checkbox.
7. Optional: To test your connection, click Test Connection.
8. Click Connect to establish the connection.
1. Make sure you have an SSH Server installed and set up. If you don’t, refer to Install and set up an SSH server.
2. In the Database menu, select New Connection to open the Database Connection Properties dialog.
3. Go to the Security tab, select the Use security protocol checkbox, then select Use SSH.
4. Select the Public key authentication checkbox and enter the login information required to connect to the SSH server:
Note
If you are using PuTTYgen, you can either convert a generated private key to the OpenSSH format (by selecting Conversions > Export OpenSSH key from the menu) or use keys without conversion. Data Compare supports both options.
5. Go the General tab and enter your login information to connect to your MySQL server:
6. Specify the default Database from the drop-down list. To see all databases, select the Show all databases checkbox.
7. Optional: To test your connection, click Test Connection.
8. Click Connect to establish the connection.
1. Make sure you have an SSH Server installed and set up. If you don’t, refer to Install and set up an SSH server.
2. In the Database menu, select New Connection to open the Database Connection Properties dialog.
3. Go to the Security tab, select the Use security protocol checkbox, then select Use SSH.
4. Select the Via command-line interface to the PuTTY checkbox and enter the login information required to connect to the SSH server:
Note
Download the plink.exe file by following the link below the plink.exe location field. Note that this type of connection is only available from the user interface.
Note
If you are using PuTTYgen, you can either convert a generated private key to the OpenSSH format (by selecting Conversions > Export OpenSSH key from the menu) or use keys without conversion. Data Compare supports both options.
5. Go the General tab and enter your login information to connect to your MySQL server:
6. Specify the default Database from the drop-down list. To see all databases, select the Show all databases checkbox.
7. Optional: To test your connection, click Test Connection.
8. Click Connect to establish the connection.