【发布时间】:2012-12-19 03:44:35
【问题描述】:
像许多其他人一样,尝试让我的应用推送到 Heroku,但不断收到此错误
$ heroku login
Enter your Heroku credentials.
Email: my@email.com
Password (typing will be hidden):
Found existing public key: /Users/scotty/.ssh/id_rsa.pub
Uploading SSH public key /Users/scotty/.ssh/id_rsa.pub... done
Authentication successful.
$ git push heroku master
! Your key with fingerprint xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx is not authorized to access todolist.
fatal: The remote end hung up unexpectedly
我完成了Heroku page 上的所有步骤,并尝试了这些类似问题中的大部分建议修复:
Why is my key w/ fingerprint not authorized when I try to push latest changes to Heroku?
Cannot push to Heroku because key fingerprint
我为 heroku 添加了一个新密钥,尝试使用 ssh-add -D 命令删除所有密钥,从 Heroku 删除所有密钥,无论我尝试什么,我仍然得到相同的错误。
我只有一个 Heroku 帐户,所以多帐户问题不是问题。我现在只有一个 ssh 密钥,可用于我的 macbook 上的 github。
上面链接的答案中没有提到任何建议吗?
提前致谢。
【问题讨论】:
-
删除所有带有
ssh-add -D的密钥后,是否还要手动添加带有ssh-add <path to Heroku key>的Heroku 密钥? -
我做了同样的结果:(