The server only signs with ssh-rsa (SHA-1)
CommonAn old SSH server or device that predates RSA SHA-2 signatures, or is configured to offer only ssh-rsa. OpenSSH 8.8 and later refuse it by default.
Confirm
ssh -vv HOST 2>&1 | grep -E 'peer server KEXINIT|host key algorithms|Their offer'
Their offer: ssh-rsa, with no rsa-sha2-256 or rsa-sha2-512
Fix
- Fix the server: upgrade its SSH software, or configure it to offer rsa-sha2-512 and rsa-sha2-256 (or an Ed25519 or ECDSA host key).
- As a stopgap for that host only, add to ~/.ssh/config: Host OLD-HOST, then HostKeyAlgorithms +ssh-rsa and PubkeyAcceptedAlgorithms +ssh-rsa (the second only if your key login also fails), as OpenSSH's release notes suggest.
ssh -o HostKeyAlgorithms=+ssh-rsa -o PubkeyAcceptedAlgorithms=+ssh-rsa user@OLD-HOST
For one connection; put the same two lines under a Host OLD-HOST block to keep it. Remove once the server is fixed.