I going through the tutorial for initial server setup https://www.digitalocean.com/community/tutorials/initial-server-setup-with-ubuntu-14-04..
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.

2 answers

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

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

Submit an Answer