Report this

What is the reason for this report?

Created droplet with ssh and still asking for password

Posted on September 18, 2013

I create droplet and tap on pre-built-ssh key. When logging in to ssh root@<ip> i’am getting The authenticity of host ‘<ip> (<ip>)’ can’t be established. RSA key fingerprint is <fingerprint>. And then asking for password… Can you please help?

Woking on macOS x



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!

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.

I’m had the same problem. When I ran cat /root/.ssh/authorized_keys I saw the correct ssh key. I fixed it using an entry in my ssh config that looks like this: <br> <br>#DIGITALOCEAN <br>Host do-WEBPROJECTS <br>HostName <ip of my droplet> <br>User root <br>IdentityFile ~/.ssh/id_rsa_DIGITALOCEAN <br> <br>On the command line I enter, “ssh do-WEBPROJECTS”. My Mac prompts me for the passphrase to the ssh key… and I’m in.

In the above, HostName is the IP address of the Droplet.

I have same problem. SSH key is not working. When I try ssh root@… it keeps asking me for a root password.

I do not wont to change anything on server setup in order to use this (ssh keys).

If there is a option during setup that says use this key then why is it not working?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.