id_rsa.pub file SSH Error: invalid format

前端 未结 5 475
野的像风
野的像风 2021-02-05 03:31

My co worker and I have been trying to get my macbook to ssh into our AWS production server with no luck, this did work several months ago, but when we went to do it yesterday -

5条回答
  •  礼貌的吻别
    2021-02-05 03:53

    The following permissions should be set:

    Private keys should get rw for owner, none for group, none for others:

    chmod 600 id_rsa
    

    Public keys should get rw for owner, r for group, r for others:

    chmod 644 id_rsa.pub
    

提交回复
热议问题