“Key is invalid” message on GitHub

后端 未结 18 2047
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-30 01:49

I have generated SSH keys for a new server installation according to the procedure outlined here. However, when I copy the contents of id_rsa.pub to my keys list on

18条回答
  •  礼貌的吻别
    2021-01-30 02:30

    Just for those looking in the future, another common issue is that word-wrapping. For example, if you run cat ~/.ssh/id_rsa.pub it could wrap lines, thus adding extra \ characters at each line break. Remove these and your key should work fine.

提交回复
热议问题