I have two servers,
- S1: My machine, Windows 8, OpenSSH 8.8p1, OpenSSL 1.1.11 2021-08-24,
- S2: A Remote Server, Linux, Open SSH 5.3p1, OpenSSL 1.0.1e-fips 2013-02-11.
The message I have trying to investigate how to solve is
Unable to negotiate with
xxxxx: no matching host key found, Their offer ssh-rsa,ssh-dss
- Both S1 and S2 ssh users keys are RSA-2048 (~372 chars),
- Both S1 and S2
etc/configfiles have all their options commented by default,
- Both S1 and S2 ssh users have their
authorized_keysfiles identical, including both public keys and aliases,
- S2 is a Remote, Embedded Linux, not under my control, and which I cannot update. SSH cannot be updated, and is restricted to specific IPs.
Question is, should I change all keys to, i.e. ECDSA-256 for this to be solved? Is there another configuration not mentioned here I am missing?
When I add the option
HostkeyAlgorithms +ssh-rsa, suggested almost everywhere, SSH ask for password instead of checking the keys.