我跟着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