GitLab git用户密码 [英] GitLab git user password

查看:1020
本文介绍了GitLab git用户密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚安装了GitLab。



我创建了一个名为project-x的项目。

创建了几个用户并将其分配给该项目。



现在我尝试克隆:

  git clone git@192.168.0.108:project-x.git 

它促使我



我应该使用什么密码?

解决方案


它促使我输入密码。


不应该。
如果你有正确的公钥/私钥代表被授权访问 project-x 的用户,那么gitlab不会问你任何事情。



但是,假设 ssh -vT git@192.168.0.108 正在工作中。


I have just installed GitLab.

I created a project called project-x.

I have created few users and assigned it to the project.

Now I tried to clone:

 git clone git@192.168.0.108:project-x.git

It prompted me for a password.

What password should I use?

解决方案

It prompted me for password.

It shouldn't.
If you have the right public/private key representing a user authorized to access project-x, then gitlab won't ask you for anything.

But that supposes that ssh -vT git@192.168.0.108 is working first.

这篇关于GitLab git用户密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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