I cannot connect to droplet since upgrading it

Previously I could connect with PuTTY easily. Now that I’ve updated it I cannot connect.

PuTTY tells me there was a connection time out

Show comments

Submit an answer
Answer a question...

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Bobby Iliev
Site Moderator
Site Moderator badge
February 12, 2021
Accepted Answer

Hi there,

The error message that you are getting indicates that you are not using the correct SSH key. I could suggest making sure that you’ve selected the correct key and then trying again.

In case that it still does not work, you could follow the steps here on how to regain access to your Droplet in case of lost SSH keys:

Regards, Bobby

Site Moderator
Site Moderator badge
February 12, 2021

Hello, @ilovemycat666

You can check our article on How to Upload an SSH Public Key to an Existing Droplet

You can access the droplet from the DigitalOcean console and then temporary enable the PasswordAuthentication on your droplet and access the droplet with a password to upload the ssh-key.

You can upload the key using this command:

  1. ssh-copy-id -i ~/.ssh/mykey user@droplet

Regards, Alex

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.