SSH connection issue

February 16, 2019 309 views
Server Optimization Ubuntu

Hello Team,

i forget to save my pervious system ssh key backup. Now i m creating new ssh key and adding in my droplet security-> add ssh. But problem is that i m unable to connect my server. Can you guide me.

1 Answer

DigitalOcean can add your SSH key into your droplet at creation time only. You’ll need to add your public key to the file ~/.ssh/authorized_keys in your droplet. If you can’t get in because you don’t remember your droplet password or lost the previous key, you’ll need to boot into recovery mode and then add the key.

Cheers

Have another answer? Share your knowledge.