Gitlab offers its own optional SSH daemon written in Go:
https://gitlab.com/gitlab-org/gitlab-shell/-/tree/main/internal/sshd
A basic test against ssh.gitlab.freedesktop.org shows that it supports a number of outdated algoritms.
It might be a good idea to implement a server profile for this.