Report this

What is the reason for this report?

Cannot login to droplet with ssh after rebuild

Posted on November 25, 2021

i did rebuild my droplet a few days ago. since then i couldn’t connect my droplet using shh again. i have created new ssh hey using ssh-keygen -t rsa and defined it to SSH keys under the security settings. and still cannot login to my droplet. i’ve even used ssh <username>@<ipaddress> -i and set my shh file but. it did not work me too. Created ticket for getting help with this issue. But it didn’t even work. Does anyone else got this problem



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!

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.

Hello, @orkunkahraman

Could you please share the output of the ssh command so we can check it? Also, you can add the -vvv argument to get more verbose output.

ssh -vvv <username>@<ipaddress>

If you’ve created new keys you can check our tutorial on How to Upload an SSH Public Key to an Existing Droplet

https://docs.digitalocean.com/products/droplets/how-to/add-ssh-keys/to-existing-droplet/

Hope that this helps! Regards, Alex

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.