How to ssh to localhost without password?

后端 未结 12 777
无人及你
无人及你 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:49

    as the accepted answer do, if you encount a problem of

        Agent admitted failure to sign using the key.
    

    you need to

        ssh-add
    

提交回复
热议问题