"SSH daemon configuration" listing KexAlgorithms for PQC Check?

Hello everyone.

I’m using the mk_sshd_config Linux agent plug-in to monitor the SSH configuration of several servers.

In the advent of post-quantum cryptography (PQC), it is really interesting to see which SSH servers already accept a PQC-secure KexAlgorithms, such as mlkem768x25519-sha256 or sntrup761x25519-sha512.

However, as of now, the plug-in only lists the Ciphers.

- → Would it be possible for the plug-in to also list all other security-relevant components of an SSH server? That is:

  • ciphers
  • macs
  • kexalgorithms
  • hostkeyalgorithms
  • pubkeyacceptedalgorithms

AFAIK, all this data is already delivered by the mk_sshd_config plug-in, but not presented in the Checkmk GUI.

Thanks a lot and kind regards,

Johannes

Hi Johannes, something like this?

Quickly vibecoded and tested in my homelab. Happy to get feedback and/or pull requests.

Wow, this is awesome! Exactly what I was looking for. Thanks a lot!!

(Your screenshot shows a WARN if mlkem is not used. To my mind, this is a little too much. :wink: If sntrup is used, it’s already quantum-secure. Hence, I think a WARN should only be shown if no quantum-secure algorithm is used at all.)

How’s the workflow for getting this update into the checkmk installation base? Can I vote for the changes somewhere? (Sorry, I’m not into the coding game at all… :frowning: )

The screenshot is done with a test rule during development. So it is fine to be “too much”.

How’s the workflow for getting this update into the checkmk installation base?

Will be available in the Exchange after a review