首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Gobblin Git克隆错误

Gobblin Git克隆错误
EN

Stack Overflow用户
提问于 2016-01-04 05:32:58
回答 1查看 85关注 0票数 1

当尝试从git克隆下载并构建Gobblin时。通过在本地机器上本地下载和构建Gobblin,克隆Gobblin存储库:

代码语言:javascript
复制
git clone git@github.com:linkedin/gobblin.git

它在我的Amazon实例中给出了以下错误。

代码语言:javascript
复制
$ git clone git@github.com:linkedin/gobblin.git
Cloning into 'gobblin'...
Warning: Permanently added the RSA host key for IP address '192.30.252.131' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

如何避免这种错误信息?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2016-01-04 05:50:27

问题不在于与妖精服务器通信,而在于您的ec2实例与github.com (通过ssh)之间的通信。

在执行ssh命令(或git克隆ssh)时,ssh将在ec2用户帐户$HOME/.ssh文件夹中查找公钥/私钥。

确保您遵循"生成SSH密钥“,以便在您的EC2帐户中生成正确的密钥,并在您的GitHub帐户上声明公钥。

另一种选择是切换到https:

代码语言:javascript
复制
git clone https://github.com/linkedin/gobblin.git
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/34585218

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档