O
O
ObehanProger2019-01-17 19:19:50
SSH
ObehanProger, 2019-01-17 19:19:50

Why can't I ssh into the server using the new key?

I generated new keys, copied them to authorized_keys, restarted and still does not automatically enter from the terminal, it requires a password. I'm afraid to completely disable password authentication so that later I don't lose the ability to connect at all. Tell me the solution, how to check what will connect through the key? Server on centos 7. Rights to ~/.ssh 700, to ~/.ssh/authorized_keys 600.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Syomov, 2019-01-17
@kotomyava

Well, it's easy to check - take it and connect. If it doesn't connect, run ssh -vv to see more details.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question