Answer the question
In order to leave comments, you need to log in
What are the reasons why key authorization does not work?
Ubuntu Server 16.04
On local machine:
$ ssh-keygen
$ ssh-copy-id -i ~/.ssh/id_rsa.pub юзер_не_рутовый@удалённая_машина
$ ssh-add
$ ssh юзер_не_рутовый@удалённая_машина
$ password:
$ ssh рут@удалённая_машина
$ рут@удалённая_машина:~$
$ service ssh restart
$ exit
$ ssh юзер_не_рутовый@удалённая_машина
$ password
Answer the question
In order to leave comments, you need to log in
ssh -vvv юзер_не_рутовый@удалённая_машина
and see what will fall into the log
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question