当尝试从git克隆下载并构建Gobblin时。通过在本地机器上本地下载和构建Gobblin,克隆Gobblin存储库:
git clone git@github.com:linkedin/gobblin.git它在我的Amazon实例中给出了以下错误。
$ 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.如何避免这种错误信息?
发布于 2016-01-04 05:50:27
问题不在于与妖精服务器通信,而在于您的ec2实例与github.com (通过ssh)之间的通信。
在执行ssh命令(或git克隆ssh)时,ssh将在ec2用户帐户$HOME/.ssh文件夹中查找公钥/私钥。
确保您遵循"生成SSH密钥“,以便在您的EC2帐户中生成正确的密钥,并在您的GitHub帐户上声明公钥。
另一种选择是切换到https:
git clone https://github.com/linkedin/gobblin.githttps://stackoverflow.com/questions/34585218
复制相似问题