【发布时间】:2013-02-08 22:11:12
【问题描述】:
https://devcenter.heroku.com/articles/python
当我尝试通过$ git push heroku master 部署我的代码时出现错误:
Warning: Permanently added the RSA host key for IP address '50.19.85.132' to the list of known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
接下来,我可以通过 $ heroku keys:add 为该 IP 地址添加 RSA 主机密钥,但我仍然收到此错误:
Found existing public key: /Users/opalkale/.ssh/github_rsa.pub
Uploading SSH public key /Users/opalkale/.ssh/github_rsa.pub... done
(venv)Opal-Kales-MacBook-Pro:helloflask opalkale$ git push heroku master
Permission denied (publickey).
我做错了什么...?
【问题讨论】:
-
请标记正确答案:)
-
@Learath 如果我没有足够的声望点该怎么办?
-
您可以通过点击答案旁边的复选标记来标记正确答案:meta.stackexchange.com/a/5235/142717