sher in heroku收到“上传ssh公钥失败” [英] ssh in heroku receive "uploading ssh public key failed"

查看:119
本文介绍了sher in heroku收到“上传ssh公钥失败”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


找到了现有的公共密钥:c:/users/idan/.ssh/id_rsa.pub上传
ssh公钥c:/users/idan/.ssh/id_rsa.pub ...失败!

应用程序错误

尽管当我打开路径时: c:/users/idan/.ssh
i在此文件夹中找到 id_rsa
另外,当我键入heroku keys
我收到没有找到密钥的消息。



我解决了这个问题?



感谢
idan

解决方案

将您的密钥添加到SSH:

  ssh-add〜/ .ssh / id_rsa 



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



< a href =https://dashboard.heroku.com/account =nofollow> https://dashboard.heroku.c om / account

When i try to connect in the first time to my heroku app, i see the following message :

"found existing public key :c:/users/idan/.ssh/id_rsa.pub uploading ssh public key c:/users/idan/.ssh/id_rsa.pub... failed !
application error "

that despite the fact that when I open the path : c:/users/idan/.ssh i find the file id_rsa in this folder moreover, when i type "heroku keys" I receive the message that "no keys founds"

how can i fix it?

thanks idan

解决方案

Add your key to SSH:

ssh-add ~/.ssh/id_rsa

Then add that key file to Heroku's list of SSH keys associated to your account.

https://dashboard.heroku.com/account

这篇关于sher in heroku收到“上传ssh公钥失败”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆