简体   繁体   English

Gitlab:无法通过SSH克隆存储库

[英]Gitlab: Can't clone repo over SSH

I've installed Gitlab version 5.1 on my server (Centos 6.4 64bit). 我已经在服务器(Centos 6.4 64位)上安装了Gitlab 5.1版。 After a lot of hiccups, I now can clone, pull and push... but only over HTTP. 经过一番打now之后,我现在可以克隆,拉动和推送了……但是只能通过HTTP进行。 Anytime I try an SSH clone, this error occurs: 每当我尝试SSH克隆时,都会发生此错误:

$ git clone git@git.server: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.

This DENIED by fallthru error apparently is no stranger to Google and Stackoverflow, but most of them is Gitolite-related, which is not the case here, as Gitlab has dropped Gitolite as per v5. DENIED by fallthru错误DENIED by fallthru显然对Google和Stackoverflow并不陌生,但其中大多数与Gitolite有关,但事实并非如此,因为Gitlab根据v5删除了Gitolite。 So what am I missing here? 那我在这里想念什么? This is my first time working with Gitlab, so please be gentle. 这是我第一次与Gitlab合作,请保持温柔。

OK,升级到5.2后,问题消失了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM