I tried this:
$ ssh -vT git @ git.my-srv.fr
I see redirect 301 in the http log. (My proxy redirects http to https)
I fixed it in the gitlab-shell configuration, file: /home/git/gitlab-shell/config.yml
gitlab_url: "https://git.my-srv.fr/"
the new error message was an ssl certificate verification error (my certificate is automatically signed without authorization of the third part)
/home/git/gitlab-shell/lib/gitlab_net.rb
:
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if (http.use_ssl?)
:
http.use_ssl = (url.port == 443)
http.verify_mode = OpenSSL::SSL::VERIFY_NONE if (http.use_ssl?)
request = Net::HTTP::Get.new(url.request_uri)
( ) gitlab-shell:
https://github.com/gitlabhq/gitlab-shell/pull/9
:
https://github.com/jcockhren/gitlab-shell/commit/846ee24697f386cd9fcbc4ab1a7fb8ae1ccb46ee