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

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

问题描述

虽然我无法克隆项目

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 Key 更改为 RSA Key.

I resolved changing the SSH Key to RSA Key.

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

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