Ok i found that was a /etc/shadow problem, now when i login with your 
command it reply with:

/usr/local/lib/ruby/2.0.0/net/http.rb:878:in `initialize': Connection 
refused - connect(2) (Errno::ECONNREFUSED)

from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `open'

from /usr/local/lib/ruby/2.0.0/net/http.rb:878:in `block in connect'

from /usr/local/lib/ruby/2.0.0/timeout.rb:52:in `timeout'

from /usr/local/lib/ruby/2.0.0/net/http.rb:877:in `connect'

from /usr/local/lib/ruby/2.0.0/net/http.rb:862:in `do_start'

from /usr/local/lib/ruby/2.0.0/net/http.rb:851:in `start'

from /home/git/gitlab-shell/lib/gitlab_net.rb:76:in `get'

from /home/git/gitlab-shell/lib/gitlab_net.rb:31:in `allowed?'

from /home/git/gitlab-shell/lib/gitlab_shell.rb:59:in `validate_access'

from /home/git/gitlab-shell/lib/gitlab_shell.rb:23:in `exec'

from /home/git/gitlab-shell/bin/gitlab-shell:16:in `<main>'


Il giorno domenica 15 giugno 2014 10:18:06 UTC+2, Alex Elman ha scritto:
>
> try issuing ssh -T [email protected] <javascript:> (or whatever 
> the hostname is) from your command prompt and respond with the reply from 
> the server.
>
> -Alex
>
>
> On Sat, Jun 14, 2014 at 10:20 AM, Leonardo Medici <[email protected] 
> <javascript:>> wrote:
>
>> Hi, i recently installed Gitlab on Centos 6.5, i added my ssh-rsa key to 
>> my profile and created a project but i can't access to it over ssh.
>> Here there is my ssh-client log:
>>
>>
>> OpenSSH_6.2p2, OSSLShim 0.9.8r 8 Dec 2011 
>> debug1: Reading configuration data /etc/ssh_config 
>> debug1: /etc/ssh_config line 20: Applying options for * 
>> debug1: /etc/ssh_config line 102: Applying options for * 
>> debug1: Connecting to git.blackcrafter.tk [151.66.124.26] port 22. 
>> debug1: Connection established. 
>> debug1: identity file /Users/c0d3/.ssh/id_rsa type 1 
>> debug1: identity file /Users/c0d3/.ssh/id_rsa-cert type -1 
>> debug1: identity file /Users/c0d3/.ssh/id_dsa type -1 
>> debug1: identity file /Users/c0d3/.ssh/id_dsa-cert type -1 
>> debug1: Enabling compatibility mode for protocol 2.0 
>> debug1: Local version string SSH-2.0-OpenSSH_6.2 
>> debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3 
>> debug1: match: OpenSSH_5.3 pat OpenSSH_5* 
>> debug1: SSH2_MSG_KEXINIT sent 
>> debug1: SSH2_MSG_KEXINIT received 
>> debug1: kex: server->client aes128-ctr hmac-md5 none 
>> debug1: kex: client->server aes128-ctr hmac-md5 none 
>> debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent 
>> debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP 
>> debug1: SSH2_MSG_KEX_DH_GEX_INIT sent 
>> debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY 
>> debug1: Server host key: RSA 
>> 47:91:87:a0:4b:73:04:a4:ae:d6:de:07:75:46:2c:e1 
>> debug1: Host 'git.blackcrafter.tk' is known and matches the RSA host 
>> key. 
>> debug1: Found key in /Users/c0d3/.ssh/known_hosts:13 
>> debug1: ssh_rsa_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,keyboard-interactive 
>> debug1: Next authentication method: publickey 
>> debug1: Offering RSA public key: /Users/c0d3/.ssh/id_rsa 
>> debug1: Authentications that can continue: publickey,keyboard-interactive 
>> debug1: Trying private key: /Users/c0d3/.ssh/id_dsa 
>> debug1: Next authentication method: keyboard-interactive 
>> debug1: Authentications that can continue: publickey,keyboard-interactive 
>> debug1: No more authentication methods to try. 
>> Permission denied (publickey,keyboard-interactive).
>>
>> Here there is my authorized_keys file:
>>
>> # Managed by gitlab-shell
>>
>> command="/home/git/gitlab-shell/bin/gitlab-shell 
>> key-3",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty 
>> ssh-rsa 
>> AAAAB3NzaC1yc2EAAAADAQABAAABAQC2rytP2ypM4RyMWkbyTn357fD9OmQjQF7IU2ANqMmF1ycoKRi5f97/kcSc+axhmeF/rOcCS6dpu0UOHXqfp/Y52KBXuvy3OxgHrJTnbnn05EU3hSBkkCOIhLG24QvOElf1EhO/EbcLhwK5yOhalYkG5eeRYAPHUZrQy/vVJFcMdJ8YKUeVoR2U2dKtW+Sm81yXLuZhiTa/GDUHbAnKoKMB/g8FkIoU7FvnuJzGvbtykwMBcNILjRofBK5N86W6rJP9yKDKMucXXcuvRb6YUj3RmyqFRdB8sz4r0DwqHINK31WrdbDXolUkrWCYDGthjYX7b/gxJSvHncYgZPZeI+f7
>>  
>> [email protected]
>>
>>
>> Anyone know how to fix that?
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "GitLab" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/gitlabhq/10e6ecd9-82e0-4ca7-b862-48ccc88822ef%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/gitlabhq/10e6ecd9-82e0-4ca7-b862-48ccc88822ef%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/79a2a117-e060-46b3-b6f4-d15bd9dc135e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to