如何纠正SSH错误:Heroku,在我的Rails应用程序中

时间:2014-11-28 13:37:08

标签: ruby-on-rails ruby git heroku ssh

我是SSH新手。我正在通过Heroku教程"为Git设置SSH":

返回终端mac并输入以下命令验证您的配置

git push heroku master

我收到了错误:

The authenticity of host 'heroku.com (50.19.85.132)' can't be established. 
RSA key fingerprint is 8b:48:5e:67:0e:c9:16:47:32:f2:87:0c:1f:c8:60:ad.
No matching host key fingerprint found in DNS.
Are you sure you want to continue connecting (yes/no)? 
Host key verification failed.
fatal: The remote end hung up unexpectedly

我很感激任何建议。

1 个答案:

答案 0 :(得分:0)

几个月前,我在执行

时碰到了类似的事情
git push heroku master

导致

Permission denied (publickey).
fatal: The remote end hung up unexpectedly

我忘记了确切的解决方案,但我记得以下链接:Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly帮助了我很多。

的问候,

-Ricardo