id_rsa.pub file SSH Error: invalid format

前端 未结 5 479
野的像风
野的像风 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:49

    In my case, I was attempting to use the -i flag to point to the default key: ssh -i ~/.ssh/id_rsa.pub user@0.0.0.0

    Removing the -i key, and simply calling ssh user@0.0.0.0 resolved the error

提交回复
热议问题