【发布时间】:2015-01-27 04:29:29
【问题描述】:
我是 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
如果有任何建议,我将不胜感激。
【问题讨论】:
-
也许可以尝试 HTTP Git 而不是 SSH Git - devcenter.heroku.com/articles/http-git - 设置起来要容易得多。
-
你在 Heroku 上添加了你的 ssh 公钥了吗?如果是,请尝试删除您的
.ssh/known_hosts文件的内容。 -
抱歉迟到了,将我的密钥添加到 heroku,但 heroku 密钥不起作用:添加
标签: ruby-on-rails ruby git heroku ssh