Werk #17679 · Mar 4, 25
mk_sshd_config: Support for Ubuntu 24.04 systems before first SSH session
The agent plugin mk_sshd_config monitors the SSH daemon configuration based on the output of
sshd -T. On Ubuntu 24.04 (and possibly also other systems), sshd -T only succeeds after the
first incoming SSH session. Before, the command fails with
$ sudo sshd -T
Missing privilege separation directory: /run/sshd
To solve this issue, mk_sshd_config now implements a fallback to sshd -G in case sshd -T
fails. Note that sshd -G cannot fully replace sshd -T, since the -G option is not available on
all platforms.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.5.0b1All Editions
- 2.4.0b1All Editions
- 2.3.0p29CommunityProUltimateUltimate + MT