Question

Cannot login to droplet with ssh after rebuild

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


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.

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