ruby-on-rails - heroku - rails - 权限被拒绝(公钥)

标签 ruby-on-rails git heroku

heroku create
Creating floating-planet-1824......................... done, stack is bamboo-mri-1.9.2
http://floating-planet-1824.heroku.com/ | git@heroku.com:floating-planet-1824.git

git push heroku master
Warning: Permanently added the RSA host key for IP address '50.19.85.156' to the list of known hosts.
Agent admitted failure to sign using the key.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

我成功生成了 ssh key 。

重启没有帮助。

最佳答案

结果是

heroku keys:add ~/.ssh/id_rsa.pub

成功了。

关于ruby-on-rails - heroku - rails - 权限被拒绝(公钥),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10670562/

相关文章:

mysql - ActiveRecord - 从关联中预取单个记录

ruby-on-rails - 给定索引值,我如何才能只更新 Rails Controller 中的那些值?

ruby-on-rails - Passenger & Nginx => 生产中的 502 Bad Gateway 错误

Git: check out 除一个文件以外的所有文件

Git:检索特定的提交

node.js - Heroku 应用程序在一段时间后停止工作,需要重新打开

ruby-on-rails - 使用 Active Storage 对图像进行排序

git - 3 向 merge 无法与 git 比较 4

ruby-on-rails - 由于快进,使用 git 部署到 heroku 不断被拒绝

django - Heroku 是否剥离传入的 X-Forwarded-Proto header ?