ssh - 致命的 : Authentication failed when trying to clone GitLab project even though "ssh -i" command prints "Welcome to GitLab, [username]"

标签 ssh gitlab

虽然我无法克隆该项目

ssh -T git@gitlab.com
显示我想要的:Welcome to GitLab, @vagnerwentz! .
克隆过程中的错误:
Cloning into 'jobfygo'...
Username for 'https://gitlab.com': vagnerwentz
Password for 'https://vagnerwentz@gitlab.com': 
remote: HTTP Basic: Access denied
fatal: Authentication failed for 'https://gitlab.com/jobfy/backend/jobfygo.git/'

最佳答案

我解决了将 SSH key 更改为 RSA key 的问题。

关于ssh - 致命的 : Authentication failed when trying to clone GitLab project even though "ssh -i" command prints "Welcome to GitLab, [username]",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61665645/

相关文章:

Github 在 ssh 后提示输入凭据

c# - 如何使用 SSH.NET 列出目录?

ssh - 在 SSH 配置中为特定主机取消设置参数

ssh - 谁应该制作 ssh key 对

gitlab - 自定义域 gitlab 页面

gitlab - 在 gitlab CI/CD 中验证 gcloud 服务帐户

ssh - Phpstorm 9 ssh session 身份验证取消

GITLAB:如何将整个分支推送到另一个分支

git - 如何将本地代码推送到 gitlab 上的新分支。需要具体步骤(看起来像一个重复的问题,但我需要一些具体步骤)

Gitlab,使用修订 ID 查找提交?