【问题标题】:ssh in heroku receive "uploading ssh public key failed"heroku 中的 ssh 收到“上传 ssh 公钥失败”
【发布时间】:2013-02-16 01:58:09
【问题描述】:

当我第一次尝试连接到我的 heroku 应用程序时,我看到以下消息:

"找到现有的公钥 :c:/users/idan/.ssh/id_rsa.pub 正在上传 ssh 公钥 c:/users/idan/.ssh/id_rsa.pub... 失败!
应用程序错误"

尽管当我打开路径时:c:/users/idan/.ssh 我在这个文件夹中找到文件id_rsa 此外,当我输入"heroku keys" 我收到“no keys founds”的消息

我该如何解决?

谢谢 伊丹

【问题讨论】:

    标签: heroku heroku-toolbelt


    【解决方案1】:

    将您的密钥添加到 SSH:

    ssh-add ~/.ssh/id_rsa
    

    然后将该密钥文件添加到 Heroku 的与您的帐户关联的 SSH 密钥列表中。

    https://dashboard.heroku.com/account

    【讨论】:

      猜你喜欢
      • 2014-07-20
      • 2011-11-27
      • 1970-01-01
      • 1970-01-01
      • 2020-08-30
      • 2011-11-17
      • 1970-01-01
      • 2016-09-24
      • 2020-09-22
      相关资源
      最近更新 更多