Configuring SSH port of self-hosted Gitlab

gitlab-self-hosted
#1

Hi, we have a self-hosted Gitlab connected to our account in Bitrise. Unfortunately, when we add a project through Bitrise and choose among the repositories from our Gitlab repo, it assumes we use port 22.

Is there a way we can configure this to another port?

Thanks,
Chris

0 Likes

#2

Hi @chrisbjr!

I just wanted to make sure we address your question publicly as well here,

What we think you should do essentially, is make sure that all references to your server address in your configuration are specifying the port. So instead of git@192.168.0.1 it would be git@192.168.0.1:port_number . This syntax should be supported by the SSH client according to the SSH manpage http://man.openbsd.org/ssh

0 Likes