Additionally, maybe they are using a custom server because they don't want to fork a new instance of the handler on every login.
Here is a stackoverflow topic on limiting the SSH user: https://serverfault.com/questions/152726/how-can-ssh-allowed.... They suggest a few more options, probably not relevant for a gitlab-like use-case.
> SSH's default is to not accept the client's environment
sshd accepts environment variables specified by AcceptEnv in /etc/ssh/sshd_config. By default, they are mostly related to locales.
$ LC_ALL=en_US.UTF8 ssh x date
Tue Sep 19 01:14:41 AM UTC 2023
$ LC_ALL=cs_CZ.UTF8 ssh x date
Út 19. září 2023, 01:14:46 UTC