V
V
vldud2019-03-20 23:47:17
SSH
vldud, 2019-03-20 23:47:17

How to understand the reason why ssh connection by key is not established?

I'm trying to establish an ssh connection between a client and a server using an rsa key. Key generated via ssh-keygen, added to authorized_keys, sshd_config set to PubkeyAuthentication yes . But the connection by key without a password is still not established. Actually the question is where to dig / how to debug?
I ran ssh with the -vvv switch, here is the content of the output:
5c92a68f81741999062202.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
J
jcmvbkbc, 2019-03-20
@jcmvbkbc

where to dig / how to debug?

Read /var/log/auth.log (or wherever sshd output is configured) on the server.

V
Vladimir Kuts, 2019-03-21
@fox_12

Check the permissions on files and folders.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question