0

我打算从 Heroku 备份我的源代码。

所以我使用了 git clone 命令

将源代码从 Heroku 传输到本地机器。

我运行以下命令

C:\Users\Rowell\myapp>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**

可能是什么问题呢?请帮我。

4

1 回答 1

3

这是一个未经授权的 ssh 密钥的问题,即您的 ssh 密钥不存在于您的 heroku 帐户密钥中。使用 heroku keys:add 命令将您的机器现有的 ssh 密钥(如果不存在,则生成一个新密钥)添加到 heroku 帐户。有关更多详细步骤,请参阅https://devcenter.heroku.com/articles/keys

于 2012-08-07T10:50:06.687 回答