I
I
Ivan Vorobei2018-05-07 15:50:23
SSH
Ivan Vorobei, 2018-05-07 15:50:23

How to login with SSH on drop in DO?

I added an SSH key from another developer to the droplet. Now I'm trying to log in with this key, but I can't get
Permission denied (publickey) in any way.
Key added, rights too. I seem to be entering correctly. What's wrong - I don't understand

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Barafu_Albino_Cheetah, 2018-05-07
@ivanvorobei

It is sometimes mistakenly believed that SSH uses all the keys in a folder. SSH only uses the key called id_rsa by default. In order for it to use a different key, this must be explicitly specified to the run command.

R
Roman Mirilaczvili, 2018-05-07
@2ord

I believe this is because SSH takes your own password for key authentication and not another developer's. Hence the denied access.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question