Steps to replicate the issue (include links if applicable):
- Install fedora 39 (or perhaps earlier)
- Add your gerrit ssh key to your ssh agent
- run ssh -p 29418 <username>@gerrit.wikimedia.org
What happens?:
Bad server host key: Invalid key length
What should have happened instead?:
I should have seen the gerrit command interface
Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):
n/a
Other information (browser name/version, screenshots, etc.):
This seems to be related to the host key being too short for the crypto setting on this version of fedora (or maybe earlier ones too).
A "workaround" is to run sudo update-crypto-policies --set LEGACY and then it behaves as normal