I am running windows and have generated an ssh key. However, when I try to establish the connection to my droplet (Through MySQL Workbench), I am receiving an error. The error is “COULD NOT CONNECT TO THE SSH TUNNEL: Authentication failed, access denied.” Any advice would be greatly appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @noahmcdonough,
It seems like you don’t have the proper permissions.First one I could think of is not using the proper ssh key. Please make sure to use the id_rsa.pub file in order for your SSH to work.
Additionally, if you are connecting via MySQL Workbench, it means you are trying to connect to MySQL. This would mean you would need to use port 3306. You’ll need to allow access to your this port from your IP address.
You can check what your IP address is, you can use the https://ip.me.uk site and then allow the IP using DigitalOcean’s console and iptables.
Regards, KDSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.