I installed GitLab 6.5.0 using the Bitnami installer (a revelation!!). I 
have authentication using LDAP activated and it works. I added a repository 
and tried to push via ssh but it failed. via http it works:

git remote add origin http://git/chris.maes/test-private.git
git push -u origin master

works like a charm

git remote add origin git@git:chris.maes/test-private.git
git push -u origin master
/opt/gitlab-6.5.0-0/ruby/lib/ruby/1.9.1/net/http.rb:763:in `initialize': No 
route to host - connect(2) (Errno::EHOSTUNREACH)
        from /opt/gitlab-6.5.0-0/ruby/lib/ruby/1.9.1/net/http.rb:763:in 
`open'
        from /opt/gitlab-6.5.0-0/ruby/lib/ruby/1.9.1/net/http.rb:763:in 
`block in connect'
        from /opt/gitlab-6.5.0-0/ruby/lib/ruby/1.9.1/timeout.rb:55:in 
`timeout'
        from /opt/gitlab-6.5.0-0/ruby/lib/ruby/1.9.1/timeout.rb:100:in 
`timeout'
        from /opt/gitlab-6.5.0-0/ruby/lib/ruby/1.9.1/net/http.rb:763:in 
`connect'
        from /opt/gitlab-6.5.0-0/ruby/lib/ruby/1.9.1/net/http.rb:756:in 
`do_start'
        from /opt/gitlab-6.5.0-0/ruby/lib/ruby/1.9.1/net/http.rb:745:in 
`start'
        from 
/opt/gitlab-6.5.0-0/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:62:in `get'
        from 
/opt/gitlab-6.5.0-0/apps/gitlab/gitlab-shell/lib/gitlab_net.rb:17:in 
`allowed?'
        from 
/opt/gitlab-6.5.0-0/apps/gitlab/gitlab-shell/lib/gitlab_shell.rb:59:in 
`validate_access'
        from 
/opt/gitlab-6.5.0-0/apps/gitlab/gitlab-shell/lib/gitlab_shell.rb:23:in 
`exec'
        from 
/opt/gitlab-6.5.0-0/apps/gitlab/gitlab-shell/bin/gitlab-shell:16:in `<main>'
fatal: Could not read from remote repository.

I already added my public key to my profile with as title the name of the 
key (id_rsa). The only problem might be this: my ldap username = 
chris.maes, my computer username (linux user) = chris, so the names are not 
the same... can this interfere?

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to