我网上看
git clone git@192.168.1.235:operation/ihaozhuo.git
Cloning into 'ihaozhuo'...
git@192.168.1.235's password:
Permission denied, please try again.
git@192.168.1.235's password:
Permission denied, please try again.
git@192.168.1.235's password:
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
输入密码 提示密码错误。
我ssh -vvv git@192.168.1.235
就报这个
然后我登陆到gitlab服务器修改了git 密码,就报没有权限访问。
是什么原因。我已经把本地的key 拷贝到gitlab 自己的ssh-key 上面了。
debug2: we did not send a packet, disable method
debug3: authmethod_lookup password
debug3: remaining preferred: ,password
debug3: authmethod_is_enabled password
debug1: Next authentication method: password
git@192.168.1.235's password:
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
Permission denied, please try again.
git@192.168.1.235's password:
debug2: we sent a password packet, wait for reply
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
Permission denied, please try again.
git@192.168.1.235's password:
哪位好心人帮帮忙,我看下/etc/password
git:x:497:497:GitLab:/home/git/:/bin/bash
然后修改了
git:x:497:497:GitLab:/home/git/:/bin/git-shell
也不行,需要重启gitlab吗?
可是我重启了也不行啊