Question

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


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:

https://www.digitalocean.com/docs/droplets/resources/lost-ssh-key/

Regards, Bobby

alexdo
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

https://www.digitalocean.com/docs/droplets/how-to/add-ssh-keys/to-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

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up

Featured on Community

Get our biweekly newsletter

Sign up for Infrastructure as a Newsletter.

Hollie's Hub for Good

Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.

Become a contributor

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

Welcome to the developer cloud

DigitalOcean makes it simple to launch in the cloud and scale up as you grow — whether you're running one virtual machine or ten thousand.

Learn more