Exposing ssh port in dockerized gitlab-ce

May 17, 2025 · View on GitHub

This is how to expose this internal ssh port without affecting the existing ssh port on the host server:

  • use this configuration script: ../contrib/expose-gitlab-ssh-port.sh
  • see implementation example in Vagrant: harobed/docker-gitlab-vagrant-test
  • more information, see « Exposing ssh port in dockerized gitlab-ce » post