crashsystems / gitlab-docker

Automated buld of GitLab with Docker.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SSH Git authentication not working

nls44 opened this issue · comments

I'm having trouble authenticating with my pub SSH key. It works fine on a normal Gitlab install and on Github but I can't get it to work with the dockerized version. Perhaps it has something to do with the ssh dir being mounted or the permissions thereof?

This has to do with the SSH port being forwarded to a random external port unless you specify it. So you have to either use "-p 22:22" in your docker run, or connect to the docker port when authenticating through ssh.