您带有指纹的密钥.... 无权访问... myapp.远端意外挂断.HEROKU,GIT 克隆 [英] Your key with fingerprint .... is not authorized to access... myapp. The remote end hung up unexpectedly. HEROKU, GIT CLONE
问题描述
我打算从 Heroku 备份我的源代码.
I was planning to backup my source code from Heroku.
所以我使用了 git clone 命令
So I used the git clone command
将源代码从 Heroku 传输到本地机器.
to transfer the source code from Heroku to local machine.
我运行以下命令
C:UsersRowellmyapp>git clone git@heroku.com:myapp.git c:peekbox-recent
Cloning into 'c:peekbox-recent'...
**! Your key with fingerprint eb:a9:b4:2f:5d:d8:21:27:1e:1e:34:60:de:eb:cf:eb is not authorized to access myapp.**
**fatal: The remote end hung up unexpectedly**
可能是什么问题?请帮帮我.
What could be the problem? Please help me.
推荐答案
这是一个未经授权的 ssh 密钥问题,即您的 ssh 密钥不在您的 heroku 帐户密钥中.利用heroku 键:添加命令将您的机器现有的 ssh 密钥(或如果不存在则生成一个新密钥)添加到 heroku 帐户.有关更多详细步骤,请参阅 https://devcenter.heroku.com/articles/keys
This is an issue of anauthrized ssh key i.e. your ssh key is not present in your heroku account keys. Use heroku keys:add command to add your machines existing ssh key(or generate a new one if not exists) to heroku account .For more detailed steps please refer https://devcenter.heroku.com/articles/keys
这篇关于您带有指纹的密钥.... 无权访问... myapp.远端意外挂断.HEROKU,GIT 克隆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!