HeidiSQL SSH Tunnel Setup
In the ‘Settings’ tab
- In the dropdown list of ‘Network type’, please select SSH tunnel
- Hostname/IP: localhost (even you are connecting remotely)
- Username & Password: your mysql user and password
Next, in the tab SSH Tunnel:
- specify plink.exe or you need to download it and specify where it’s located
- Host + port: the remote IP of your SSH server(should be MySQL server as well), port 22 if you don’t change anything
- Username & password: SSH username (not MySQL users)
- You might ignore the password in the above step if you have the .ppk file.
Quelle: Connect to MySQL server from HeidiSQL with SSH tunnel
dBeaver SSH Tunnel Setup
Convert private key file to open ssh format1