-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login