5
我最近改变了我的GitHub上的用户名,当我试图推动与认证>使用选定的本地SSH代理,GitKraken推失败,以下错误:Gitkraken不能使用本地SSH代理
Push Failed
Configured SSH key is invalid.
Please confirm that it is properly associated with your git provider.
取消勾选的选项显示正确私人/公钥对位于
~/.ssh/id_rsa
~/.ssh/id_rsa.pub
并允许推送完成。
我也可以从Eclipse内部推送,并通过命令行无误。存储库的URL指向我的新用户名。
到目前为止,我已经检查几件事情:
ssh -T github.com
给予许可被拒绝id_rsa.pub的
指纹相匹配,在Github上考虑的一个关键现有的。
下面的命令表明,SSH工具试图RSA私钥,但被拒绝:
$ ssh -vT github.com
debug1: Offering RSA public key: /home/<user>/.ssh/id_rsa
debug1: Authentications that can continue: publickey
debug1: Trying private key: /home/<user>/.ssh/id_dsa
debug1: Trying private key: /home/<user>/.ssh/id_ecdsa
debug1: Trying private key: /home/<user>/.ssh/id_ed25519
debug1: No more authentication methods to try.
Permission denied (publickey).
是什么原因造成的ssh -vT在这种情况下失败,为何它没有阻止混帐推/拉但GitKraken尝试推送时失败?
我相信-K应该是小写-k。 – gabeio
@gabeio伟大的指出 –