最近、Github.comで無料プランにサインアップしました。私は彼らの指示に従って、アカウントに追加するsshキーを生成します。ただし、試してみるとssh -v git@github.com
、次のエラーが発生します。
debug1: Server accepts key: pkalg ssh-rsa blen 277
Agent admitted failure to sign using the key.
debug1: Trying private key: /home/phuongnd08/.ssh/identity
debug1: Trying private key: /home/phuongnd08/.ssh/id_dsa
debug1: No more authentication methods to try.
Permission denied (publickey).
エラーを調べると、ここで面白いことがわかります。つまり、.ssh / id_rsaは試されておらず、.ssh/identityと.ssh/id_dsaだけが試されています。
このエラーを修正するにはどうすればよいですか?ありがとう