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

June 11, 2018 696 views
Getting Started DigitalOcean

Hello everyone,

I’m new with the DigitalOcean. I followed the instructions described in this article:

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

Si i used “ cat ~/.ssh/ | ssh root@[] "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. :)

1 Answer

Hello, @clinquier

You can follow this article on how to add your ssh key to an existing droplet:

Also keep in mind that you can always access your droplet via the console from the control panel and add the key from there.

Let me know if you have any questions.


Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!