Não é possível clonar o repositório do gitlab via ssh, via http - OK

Eu sou novo para gitlab e CI então eu tive toneladas de perguntas, mas algumas delas resolvidas via google, então, git mans, mas não o último ...

Eu não posso clonar repo via ssh = (

Se eu tentar clonar o repo via http:

lesha@lesha-SeoTeam:/var/www$ git clone http://gitlab.vbox/root/virtualboxgitlab.git
Cloning into 'virtualboxgitlab'...
Username for 'http://gitlab.vbox': root
Password for 'http://[email protected]':
warning: You appear to have cloned an empty repository.

Isso está ok!

Mas via ssh ...

lesha@lesha-SeoTeam:/var/www$ git clone [email protected]:root/virtualboxgitlab.git
Cloning into virtualbox 'gitlab'
[email protected]'s password:<br />   

Ele me pede a senha do git que eu não criei durante a instalação (como eu fiz no homem)

rsa keys

Eu adicionei a minha chave via web do gitlab (para a raiz da conta, na verdade eu não criei nenhuma outra conta)

E também eu adicionei a chave por "cat my_rsa.pub >> authorized_keys"

Eu li alguns posts aqui sobre problemas ssh, mas a maioria tem gitolite instalado

Eu instalei o gitlab 5.3 sem gitolite (como no manual), pode ser que eu deveria?

Eu também tenteissh -vT [email protected] e produz:

....
debug1: Server host key: ECDSA 48:83:ba:b3:37:72:a0:dc:ca:2c:a3:b8:78:a1:c4:ad
debug1: Host 'gitlab.vbox' is known and matches the ECDSA host key.
debug1: Found key in /home/lesha/.ssh/known_hosts:2
debug1: ssh_ecdsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/lesha/.ssh/id_rsa
debug1: Authentications that can continue: publickey,password
debug1: Trying private key: /home/lesha/.ssh/id_dsa
debug1: Trying private key: /home/lesha/.ssh/id_ecdsa
debug1: Next authentication method: password
[email protected]'s password:


root@seotm-server:/home/git/.ssh# ls -l
итого 4
-rw------- 1 git git 922 Июл 18 21:05 authorized_keys

environmetnt: debian 7, nginx + passageiro, gitlab 5.3, ruby ​​2.0.0p247, sem gitolite, puma contra unicórnio

por favor ajude! =) estou preso ...

algumas adições (20.07.2013):

Eu criei o user git como na instalação manual

sudo adduser --disabled-login --gecos 'GitLab' git

No dia seguinte, eu tentei matar o git e adicionar novamente simplesmenteuseradd comando, depois que minhas chaves estão funcionando, mas eu ainda não estou feliz porque:

lesha@lesha-SeoTeam:/var/www$ git clone [email protected]:root/virtualboxgitlab.git
Cloning into 'virtualboxgitlab'...
fatal: 'root/virtualboxgitlab.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly

e http funciona bem como anterior:

lesha@lesha-SeoTeam:/var/www$ git clone http://gitlab.vbox/root/virtualboxgitlab.git
Cloning into 'virtualboxgitlab'...
Username for 'http://gitlab.vbox': root
Password for 'http://[email protected]': 
warning: You appear to have cloned an empty repository.

Então, agora eu não tenho problemas de autenticação, mas tenho outro.

Como você resolveria esse problema de lá?

questionAnswers(1)

yourAnswerToTheQuestion