【发布时间】:2020-05-04 08:49:55
【问题描述】:
我尝试使用 HTTPS 和 SSH 简单地克隆一个 Gitlab 项目,但它们都不起作用并打印回认证失败消息。
尝试使用 https 地址时:
git clone https://gitlab.com/project.aa/project.git
Cloning into 'frontend'...
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.com/project.aa/project.git'
使用我的 SSH 密钥,我得到的消息是:
Cloning into 'frontend'...
git@gitlab.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我能做什么?
【问题讨论】:
-
你试过
git clone git://gitlab.com/project.aa/project.git?
标签: gitlab