I cannot connect to droplet since upgrading it

  • Posted February 12, 2021
  • Apache

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


I shutdown the droplet and restarted it, and now I’m getting a new message from PuTTY:

No Support authentication methods available (server sent: publickey)

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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

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