By drumsjames
I’m new to digital ocean and I used the automagical add SSH Key form to share my public key, however when I ssh from my mac I am prompted for a password. I never used a passphrase when generating the keys so why am I prompted for a password when none was applied and how can I fix it?
droplet using Ubuntu 14.04
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!
Something similar happens to me also. I have created a droplet and I have applied my existing ssh keys during droplet creation. Everything was working on the first attempt. When I come back the other day it prompts for a password. The same happened with another droplet before.
I was having the same problem. It turns out that at some point a line feed was added in the middle of the ssh key on Digital Ocean’s side. The fingerprint is still identical but ssh doesn’t work. Make sure the key you are pasting into your settings does not have any line breaks in it.
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.