Upgrade to 25.04.2.4 broke SSH key login

I just upgraded from 24.04.2 to 25.04.2.4.2. I had some custom parameters for SSH that were causing an issue.

sshd[2461]: /etc/ssh/sshd_config line 49: Directive 'HostKeyAlgorithms' is not allowed within a Match block

I removed them, but now I’m facing another SSH authetication issue.

Here are the custom parameters that were required back when I added them.

Weak Ciphers
None, AES128-CBC 

Auxiliary Parameters
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa

Now, with those removed, I’m facing this error when trying to SSH in via public key.

The server has disconnected with an error.  Server message reads:
A protocol error occurred. Too many authentication failures 

If I boot back into 24.04.2 it connects with no issues, so it’s clearly some change in the later version(s) of TN that caused this. Any clues would be appreciated!

Following up… the SSH login issue on newer versions of TrueNAS was caused by an outdated version of SecureCRT. The newer releases of TrueNAS have made updates that are incompatible with older SSH implementations. I’ve now moved on to Termius which looks promising.