致命的:尝试克隆GitLab项目时身份验证失败,即使"ssh -i"命令会显示“欢迎使用GitLab,[用户名]". [英] fatal: Authentication failed when trying to clone GitLab project even though "ssh -i" command prints "Welcome to GitLab, [username]"

查看:69
本文介绍了致命的:尝试克隆GitLab项目时身份验证失败,即使"ssh -i"命令会显示“欢迎使用GitLab,[用户名]".的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尽管如此,我仍无法克隆项目

I cannot clone the project although

ssh -T git@gitlab.com

显示我想要的内容:欢迎来到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密钥更改为RSA密钥的问题.

I resolved changing the SSH Key to RSA Key.

这篇关于致命的:尝试克隆GitLab项目时身份验证失败,即使"ssh -i"命令会显示“欢迎使用GitLab,[用户名]".的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆