SOLVED gitlab ssh port 22, anyway to do this?
Is there anyway to have gitlab ssh be on standard port 22?
We use automatic deployment tools that do not yet support non standard SSH ports making (laravel forge for example)/
This is currently not supported. Port 22 is one of the hardcoded reserved ones. I am not sure if it may work, but if you do not have sshd running on that port, then you may be able to create a custom iptables rule, which does the portmapping from 22 to the one used by gitlab. Maybe https://www.cyberciti.biz/faq/linux-port-redirection-with-iptables/ helps here, especially:
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 22 -j REDIRECT --to-port 8080
interesting.. let me try that...
Be sure to move SSH to a different port first using https://cloudron.io/documentation/security/#securing-ssh-access.