Adding a public key to ~/.ssh/authorized_keys does not log me in automatically

前端 未结 30 2519
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-02 03:15

I added the public SSH key to the authorized_keys file. ssh localhost should log me in without asking for the password.

I did that and tried t

30条回答
  •  温柔的废话
    2020-12-02 03:47

    The desperate may also make sure they don't have extra newlines in the authorized_keys file due to copying file id_rsa.pub's text out of a confused terminal.

提交回复
热议问题