gitlab 不能通过 https 来 clone 只能 ssh,大家有遇到过吗

125 天前
 hackingwu

gitlab 不能通过 https 来 clone 只能 ssh ,大家有遇到过吗?

2957 次点击
所在节点    程序员
25 条回复
ACCI
124 天前
跟你相反
我司 gitlab 不能通过 ssh 来 clone 只能 https .
刚来公司时候搞了大半天都拉取不下来....
youwh
124 天前
是不是更新了 17.11.1 ,前天更新之后也遇到了。
lulaolu
123 天前
文档有写的: 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.”
sampeng
123 天前
因为。。就是不能用帐号密码拉啊。。。。不然 gitlab 也就太"安全"了
zzzmode
121 天前
使用 443 端口呢

Host gitlab.com
Hostname altssh.gitlab.com
User git
Port 443
IdentityFile ~/.ssh/id_gitlab

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1130232

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX