【发布时间】:2018-12-10 00:49:03
【问题描述】:
我正在尝试将我的远程 github 存储库克隆到我的 EC2 Ubuntu 服务器。当我运行sudo git clone git@github.com:user/test.git
我有消息
Cloning into 'test'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我需要设置什么才能在我的服务器中获取我的 github 存储库?我需要将密钥添加到我的 Github 帐户吗?我的服务器?
【问题讨论】: