【发布时间】:2017-09-30 13:57:20
【问题描述】:
我已经在 LINUX(RHEL 6.7) 上安装了 gitlab。通过 ssh 克隆 repo 时,它不断询问 git 的密码,但是使用 http:
$ git clone http://MGJV67@il06epclin1.am.mot-solutions.com/MGJV67/NewPROJ.git
Cloning into 'NewPROJ'...
warning: You appear to have cloned an empty repository.
mgjv67@mgjv67-430 MINGW64 /c/TCS/Gitlab/NewPROJ (master)
$ git clone git@il06epclin1.am.mot-solutions.com:MGJV67/NewPROJ.git
Cloning into 'NewPROJ'...
git@il06epclin1.am.mot-solutions.com's password:
Permission denied, please try again.
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 and the repository exists.
【问题讨论】: