SSH Git authentication not working
nls44 opened this issue · comments
nls44 commented
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?
nls44 commented
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.