By SamN
Created a new account. Created SSH keys on local machine under a root secured password. Added newly created SSH key under Security -> Add SSH keys. Created a new droplet. Installed one-click wordpress.
When I am trying to login via SSH I am getting an error saying Permission denied (publickey)
~$ ssh root@xxx.xxx.xxx.xxx
The authenticity of host ‘xxx.xxx.xxx.xxx’ can’t be established.
ECDSA key fingerprint is…
Are you sure you want to continue connecting (yes/no)? y
Please type ‘yes’ or ‘no’: yes
Warning: Permanently added ‘xxx.xxx.xxx.xxx’ (ECDSA) to the list of known hosts.
root@xxx.xxx.xxx.xxx: Permission denied (publickey).
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!
If you have not done any work yet I recommend you just delete the droplet then double check your ssh key, finally create it again. You will only be charged for the hours you have had it for not for the month.
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.