我试图从另一个人的 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