Вопрос по github – Почему GitHub может сообщить открытый ключ как недействительный? [закрыто]

7

Error: User Rate Limit Exceeded
Error: User Rate Limit Exceeded

Your identification has been saved in /home/rajani/.ssh/id_rsa.
Your public key has been saved in /home/rajani/.ssh/id_rsa.pub.

Error: User Rate Limit Exceeded

Key is invalid. 
It must begin with 'ssh-rsa' or 'ssh-dss'. 
Check that you're copying the public half of the key .

Error: User Rate Limit Exceeded

Error: User Rate Limit Exceeded Todd A. Jacobs
Error: User Rate Limit Exceeded VonC
Error: User Rate Limit Exceeded Lücks

Ваш Ответ

2   ответа
6

The Problems

  1. The ssh-keygen utility usually defaults to generating RSA keys, but your implementation may default to ECDSA, which GitHub does not currently support.
  2. If you are truly generating RSA keys, you may be trying to paste your private key to the server, instead of your public key.

Solutions

  1. Force RSA key generation by passing the -t flag to ssh-keygen.
  2. Make sure you're copying the key with a .pub extension, and that you include the entire line. This will include the ssh-rsa prefix if you're copying an RSA public key.

Related

Error: User Rate Limit Exceededman 1 ssh-keygenError: User Rate Limit Exceeded

1

Error: User Rate Limit Exceeded

Похожие вопросы