I followed this guide to the letter:
https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets
However after creating the droplet (Step 5) I tried to log into my server but got this:
forrester@:~$ ssh root@****** Agent admitted failure to sign using the key. root@***********'s password: Permission denied, please try again
I tried my SSH key passphrase as the password but as you can see it didn’t work. Seeing as I opted into the SSH key I never got an email with a password. How can I fix this?
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!
I just figured out the answer and it worked for me, if you are on linux anyway. You have to open a term up and do “ssh-add /path/to/id__rsa” and thats it. Then try to reconnect. My username is hjones so I would type “ssh-add /home/hjones/.ssh/id__rsa”.
This comment has been deleted
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.