我跟着this教程产生GitHub上SSH密钥: 在上面链接教程的步数5,I型ssh -T [email protected]
后,我应该看到这一点:问题与SSH密钥设置,而设置github上
The authenticity of host 'github.com (207.97.227.239)' can't be established.
# RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
# Are you sure you want to continue connecting (yes/no)?
但是,我看到:
Agent admitted failure to sign using the key.
Permission denied (publickey).
再后来,当我试图把文件使用git push -u origin master
到库中,我得到这个:
Agent admitted failure to sign using the key.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
我认为问题在于设置SSH密钥。 我该如何解决这个问题?
我正在使用Linux。
你是否在帐户设置 - > SSH密钥中输入了SSH密钥,确保你没有修改是 –
你正在使用哪个操作系统? –
@NixitPatel我在Linux上 - Ubuntu 12.04 – Jatin