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!
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.
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?
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.