Hello, did you ever find a solution to this? I'm having this same problem, but only with specific droplets (used a different one-click-app setup). Other droplets don't have the issue.
Connecting to Digital Ocean via SSH in Heidi SQL
Hi guys!
So i'm having some troubles connecting to my database via SSH in Heidi SQL. It worked flawlessly 2 weeks ago, but after I moved my private and public keys from one folder to another, it doesn't anymore. I did link to the new location of the private key in Heidi SQL, but still error. I created a new public and private key in Git Bash using the command "ssh-keygen -t rsa -C "[email protected]", added the rsa_id.pub key to Forge and then linked to the private key in Heidi SQL, but it gives me the following error:
"Plink exited unexpected. Command line was: C:\Users\Nielson.ssh\plink.exe -ssh forge@IPADDRESS -pw "*****" -P 22 -i "C:\Users\Nielson.ssh\id_rsa" -N -L 3307:IPADDRESS:3306"
I have searched far and wide, followed the tutorial on Laracast, but nothing helps me getting further.
Does anyone have a magic solution to this? :)
EDIT: If I follow the tutorial on Laracast on my Macbook Air, I have no problems connecting to the database through Sequel Pro.
Hi @jorenrapini !
I did find a solution, but as always, it's something that just comes to me after a lot of tries and then I completely forget what did the trick.
Honestly I forgot about this thread , but I will see if I can explain my method.
Just as a quick note to what my settings in Heidi SQL looks like because I was a bit vague on this point:
Settings
- Network type: MySQL (SSH tunnel)
- Hostname / IP: 127.0.0.1
- User: #YOUR-USERNAME#
- Password #YOUR-PASSWORD#
SSH Tunnel
- plink.exe location: Self explanatory
- SSH-Host + port: IP to your droplet + 22 (port)
- Username: #YOUR-USERNAME#
- Password:
- Private key: Link to "private.key.ppk"
- Localpost: 3307
The above settings did it for me when I created a keyfile in Puttygen and uploaded the public file to Forge.
I hope it works for you as well :)
Please or to participate in this conversation.