After upgrading our internal Gitlab docker instance from 15.6 to the latest release, an older client can no longer connect to git with SSH.
The error is:
Unable to negotiate with gitlab.internal port 22: no matching host key type found. Their offer: rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
I changed the /etc/ssh/sshd_config in the docker instance and added the following lines:
and restarted sshd with gitlab-ctl restart sshd
But this didn’t help. The server still doesn’t accept ssh-rsa
How to configure Gitlab docker instance to accept ssh-rsa algorithm? The client machine is old and cannot be upgraded at the moment