Heroku- 在计算机重新启动之前正在工作,现在无法推送到远程存储库 - 访问被拒绝



在重新启动计算机之前,我的heroku/git设置一直运行良好。现在,当我试图将任何更改推送到远程存储库时,我会收到以下错误。

  !  Your key with fingerprint ..... is not authorized to access .....
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.

我试着看heroku键:add,但这似乎没有什么区别。

有什么想法吗?

谢谢!

这听起来像是ssh密钥的问题。检查~/.ssh目录中的密钥,并确保它们与Heroku上的密钥相匹配。

https://devcenter.heroku.com/articles/keys这个链接是关于设置您的密钥以便与他们的系统一起使用。

希望这能有所帮助:)

http://tmtk75.github.io/2012/11/22/your_key_with_fingerprint_..._is_not_authorized_to_access_..._on_heroku.html?utm_expid=58395966-2&utm_referrer=https%3A%2F%2Fwww.google.com%2F

这对我有效。不知道为什么,但至少它有效!

最新更新