[DSS V7][JDSS] SSH Problem under Linux with checkmk 2.2 and Open-E JovianDSS or DSS V7

Problem:

Using Linux with checkmk 2.2: when checking with ssh (port 22222 and 22223) from Open-e DSS V7 and  Open-E JovianDSS (version up29) the following message appears:
Unable to negotiate with 172.18.0.211 port 22223: no matching host key type found. Their offer: ssh-rsa,ssh-dss

Note: This problem was encountered using AlmaLinux 9.2  but can also show in other Linux distributions.

Solution: 


update-crypto-policies --set DEFAULT:SHA1


Afterwards a reboot is necessary


Then the following message appears: 
Bad server host key: Invalid key length


This can be fixed with the option RequiredRSASize=1024

Open-E DSS V7

ssh -oRequiredRSASize=1024 -i /omd/$HOSTNAME$.key -p 22223 -l api $HOSTADDRESS$ check_mk_agent

Open-E JovianDSS

ssh -oRequiredRSASize=1024 -i /omd/$HOSTNAME$.key -p 22223 -l cli $HOSTADDRESS$ check_mk_agent



Article ID: 3471
Last updated: 03 Jul, 2023
Revision: 6
DSS V7 -> DSS V7 Information -> General info -> [DSS V7][JDSS] SSH Problem under Linux with checkmk 2.2 and Open-E JovianDSS or DSS V7
https://kb.open-e.com/dss-v7jdss-ssh-problem-under-linux-with-checkmk-22-and-open-e-joviandss-or-dss-v7_3471.html