Public repos fail on custom SSH port
Created by: sudodev
Using a custom port on gitlab has its quirks but most are avoidable with a mod to .ssh_config but public repos fail.
Example:
git clone http://git.domain.com:10701/root/gitlabhq.git Cloning into 'gitlabhq'... error: Recv failure: Connection reset by peer while accessing http://git.domain.com:10701/root/gitlabhq.git/info/refs?service=git-upload-pack fatal: HTTP request failed
Maybe using the .ssh_config mod will work. My server is named "githost"
git clone githost/root/gitlabhq.git Cloning into 'gitlabhq'... Access denied. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Perhaps it needs a port number (just covering all bases at this point)
git clone githost:10701/root/gitlabhq.git Cloning into 'gitlabhq'... Access denied. fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.
Nope. I assume it's a bug but it could be me being dense.
Also, the repo is public, I can download with no problems with a standard port.