With Ubuntu 22.04 (and probably other latest distributions), the access to Git repositories in SCM-Manager using authorized keys may fail, and Git will ask for username and password, again.
The reason for this is a deprecation of the RSA SHA-1 hash algorithm. The ssh plugin does not yet support other algorithms and therefore the connection fails (ssh logs send_pubkey_test: no mutual signature algorithm).
Workaround
As a workaround for this, the RSA algorithm can be whitelisted again by adding the following line to /etc/ssh/ssh_config:
PubkeyAcceptedKeyTypes +ssh-rsa
This may also be restricted to the domain of the SCM-Manager server:
Issue description
With Ubuntu 22.04 (and probably other latest distributions), the access to Git repositories in SCM-Manager using authorized keys may fail, and Git will ask for username and password, again.
The reason for this is a deprecation of the RSA SHA-1 hash algorithm. The ssh plugin does not yet support other algorithms and therefore the connection fails (ssh logs
send_pubkey_test: no mutual signature algorithm
).Workaround
As a workaround for this, the RSA algorithm can be whitelisted again by adding the following line to
/etc/ssh/ssh_config
:This may also be restricted to the domain of the SCM-Manager server: