我想克隆或推送到我们的Gitlab服务器上使用SSH身份验证的空的存储库,但每当我尝试我要求输入git密码(使用Git Bash):Git询问[email protected]密码
[email protected] MINGW64 /c/users/myname/dev
$ git clone [email protected]:android/myApp.git
Cloning into 'myApp'...
[email protected]'s password:
我已经试过了密码并且被管理员给我的Git的密码,但我得到:
Please make sure you have the correct access rights
and the repository exists.
为什么我需要提供此密码时,我已经加入我的SSH密钥对项目文件在Gitlab?我错过了什么?谢谢!
你有哪里钥匙? – Jakuje
我不确定密码是否是问题。 Git提供者必须认可并批准您的公共证书。 –
@Jakuje我的钥匙在C:\ Users \ myname \ .ssh – petehallw