首页 > gitlab 创建了项目,本地公钥也ssh-key也放到gitlab上面了,为什么这里初始化以后,git clone 提示密码。

gitlab 创建了项目,本地公钥也ssh-key也放到gitlab上面了,为什么这里初始化以后,git clone 提示密码。

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).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights


你创建秘钥的时候,可能输入了密码。
你创建秘钥的时候,密码设置为空,即可!

【热门文章】
【热门文章】