How to ssh to localhost without password?

后端 未结 12 774
无人及你
无人及你 2020-12-07 13:05

EDIT: Putting exactly what was done

I need to SSH localhost without password, the usual way of doing it (with public keys) do not work.

user@PC:~$ rm         


        
12条回答
  •  鱼传尺愫
    2020-12-07 13:50

    Have discovered the problem.

    Running the server with debuging:

    $sshd -Dd
    

    I found it was not able to read the auth_key

    $chmod 750 $HOME
    

    Fixed it.

提交回复
热议问题