And these are the two related MINA bugs:
https://issues.apache.org/jira/browse/SSHD-1141
https://issues.apache.org/jira/browse/SSHD-1216
MINA 2.7.0 fixes this for MINA ssh clients (SSHD-1141) which I assume
is needed by the replication plugin. Then the next release of MINA
(2.8.0?) will fix this on the sshd side so that openssh users can push
to Gerrit using RSA keys. It may also be possible to vendor the fixed
MINA code into Gerrit without a new MINA release. I personally stopped
trying to work on this after it became clear MINA is intertwined with
JGit and needed more time and understanding than I could give it. But
I think this is still possible.
From the openssh release notes:
For example, the following stanza in ~/.ssh/config will enable
RSA/SHA1 for host and user authentication for a single destination
host:
Host old-host
HostkeyAlgorithms +ssh-rsa
PubkeyAcceptedAlgorithms +ssh-rsa
We recommend enabling RSA/SHA1 only as a stopgap measure until
legacy implementations can be upgraded or reconfigured with another
key type (such as ECDSA or Ed25519).
I have personally updated my key.