Gitlab:无法通过SSH克隆回购
问题描述:
我在我的服务器(Centos 6.4 64位)上安装了Gitlab版本5.1。经过很多打嗝后,我现在可以克隆,拉和推...但只能通过HTTP。每当我尝试使用SSH克隆,出现此错误:Gitlab:无法通过SSH克隆回购
$ git clone [email protected]:my-project.git
Cloning into 'my-project'...
FATAL: R any my-project my-user DENIED by fallthru
(or you mis-spelled the reponame)
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
这DENIED by fallthru
错误显然并不陌生,谷歌和#1,但其中大部分是Gitolite相关,这是不是这里的情况,如Gitlab有所下降根据v5,Gitolite。那么我在这里错过了什么?这是我第一次与Gitlab合作,所以请温和。
答
行,升级到5.2后问题就没了。
请尝试:ssh [email protected] 以获得您对服务器的许可。 – Vash2593 2013-05-13 08:25:31
我试过了。用户'git'可以在没有任何问题的情况下进入服务器。 – 2013-05-13 09:15:56