“Key is invalid” message on GitHub

后端 未结 18 2221
爱一瞬间的悲伤
爱一瞬间的悲伤 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:55

    It's common issue we face while generating the key. While the SSH generating, we will get two diff files one is id_rsa and id_rsa.pub. here the file with pub extension is the public key holder file. You must copy the content from this file and add to the Github.

    NOTES: 1. public key file content starts with 'SSH-RSA' 2. end with your Github email id. ex: if you registered Github with @gmail.com then the pub file has the specified email id at the last

提交回复
热议问题