can't access root using ssh Permission denied (publickey)

Posted August 8, 2017 6.3k views
DigitalOceanUbuntu 16.04

I going through the tutorial for initial server setup
At step 4 I need to manually install the key, as it said in topic Add Public Key to New Remote User I need add the public key to a special file in the user’s home directory, but when trying to access root again from my laptop terminal using ssh root@my_ip_address_domain it showing error Permission denied (publickey), I’m using ubuntu 16.04 and created droplets using ssh.. Sorry if this question is simple, this is my first time using server


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.

Submit an Answer
2 answers

From your machine you have to copy content to your droplets ~/.ssh/authorized_keys file

I have the same problem. Did you solve this problem?