【发布时间】:2018-09-21 05:56:20
【问题描述】:
我在 AWS 上有一个 cloud9 存储库,我想将一个 github 存储库克隆到其中。我已按照文档说明在 github 上复制 http 链接并运行此命令:
git clone git@github.com:[my repo]
我在运行命令时收到此错误消息:
Cloning into 'pm-tool'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
git 上的用户名是否必须与 AWS 环境中的用户名匹配?对解决此问题有何建议?
【问题讨论】:
标签: github ssh-keys cloud9-ide