无法从 gitlab 克隆 repo。获取权限被拒绝(公钥,键盘交互)

时间:2021-02-23 17:48:05

标签: git

我试图从另一个人的 GitLab 克隆项目,我在那里拥有公钥和私钥。所以我在 ~/.ssh => known_hosts 中添加私钥。但是当我使用 git clone **link** 时,我得到了这个:

git@gitlab.com: Permission denied (publickey,keyboard-interactive).
fatal: Could not read from remote repository.

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

我使用的是 ubuntu 20.04

0 个答案:

没有答案