【发布时间】:2011-05-04 05:48:31
【问题描述】:
我遇到了这个错误:
$ git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.132' to the list of known hosts.
! Your key with fingerprint b7:fd:15:25:02:8e:5f:06:4f:1c:af:f3:f0:c3:c2:65 is not authorized to access bitstarter.
我尝试添加密钥,但出现以下错误:
$ ssh-add ~/.ssh/id_rsa.pub
Could not open a connection to your authentication agent.
【问题讨论】:
-
问题:一旦你浏览了这个页面上的每一个答案,它们都不起作用。下一步你能做什么?
-
@BrandonBertelsen 试试这个:
$ ssh-agent /bin/sh和$ ssh-add $yourkey -
@BrandonBertelsen 接下来你应该使用
git config --list来查看你是否设置了credential.helper- 如果你有你应该删除这个设置,因为助手没有帮助。