我在推送本教程中的代码时遇到问题:http://newsinternational.github.com/iot-assistant/到heroku . 我在第五步 . 当我发出git push heroku master命令时,我得到错误Permission denied(publickey) . 致命:远程端意外挂断 . 我已经尝试过:Permission denied (publickey) when deploying heroku code. fatal: The remote end hung up unexpectedly和https://devcenter.heroku.com/articles/keys
1 回答
检查你的.ssh配置是否为heroku . 转到.ssh文件夹并打开配置文件
'subl'适用于Sublime Text,但您可以使用您想要的任何编辑器 . 查找“IdentityFile”行,并确保列出了非公钥:
不
这样做对我来说 .