gitlab 不能通过 https 来 clone 只能 ssh ,大家有遇到过吗?
1
hackingwu OP 启用了 2FA
|
![]() |
2
orFish 1 天前
报错信息呢。。
|
4
mc2tap 1 天前 ![]() 我只遇到过只能通过 http 来 clone 不能使用 ssh 的
|
![]() |
5
MoYi123 1 天前
遇到过, 没设置账号密码就不让用 http
|
![]() |
6
Goalonez 1 天前 via iPhone
有 2fa 本来就不能 http 拉吧
|
![]() |
7
konakona 1 天前
不喂我报错信息就希望我回答你吗?
可恶,网友现在待遇比 deepseek 还差…… |
![]() |
8
XiLingHost 1 天前
有 2fa 还想通过 https 方式 clone ,那你得设置 access token
|
![]() |
9
orFish 1 天前
|
10
hackingwu OP @XiLingHost 我设置了,为啥还不行呢
|
![]() |
11
MFWT 1 天前
在没有错误日志的情况下诊断问题,无异于闭眼开车
|
12
Rickkkkkkk 1 天前
错误日志粘到 ai 里,一般都能得到答案
|
![]() |
13
XiLingHost 1 天前
@hackingwu 你看了文档吗,access token 也是需要用户名的
|
![]() |
15
XiLingHost 1 天前
|
16
mark2025 1 天前
gitlab 后台可以设置仅 ssh 交互
|
18
nevermoreluo 12 小时 56 分钟前
给下报错不行嘛。。。。
只好猜了,这回我猜证书错误,不要想当然的以为浏览器证书正常,git 也能正常解析 `git config --global http.sslverify false` 试试 https://community.letsencrypt.org/t/production-chain-changes/150739 |
20
liuidetmks 6 小时 31 分钟前
@just1 ssh over 443
|
21
ACCI 6 小时 17 分钟前
|
22
youwh 4 小时 37 分钟前
是不是更新了 17.11.1 ,前天更新之后也遇到了。
|
![]() |
23
lulaolu 4 小时 14 分钟前
文档有写的: https://docs.gitlab.com/user/profile/account/two_factor_authentication/#use-personal-access-tokens-with-two-factor-authentication
“When 2FA is enabled, you can’t use your password to authenticate with Git over HTTPS or the GitLab API. You can use a personal access token instead.” |
24
sampeng 3 小时 54 分钟前
因为。。就是不能用帐号密码拉啊。。。。不然 gitlab 也就太"安全"了
|