The problem when i add the ssh key to the droplet existing

June 11, 2018 372 views
DigitalOcean Getting Started

Hello everyone,

I'm new with the DigitalOcean. I followed the instructions described in this article: https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets.

I already created my ssh keys and i want to add the key to a droplet existing.

Si i used " cat ~/.ssh/idrsa.pub | ssh root@[your.ip.address.here] "cat >> ~/.ssh/authorizedkeys" ". I tried either the ssh public or the ssh private, i have the same message: Permission denied (publickey).

Ì don't know how to do with this problem. Someone can help me. Thanks. :)

Be the first one to answer this question.