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.

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.

×
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

Submit an Answer