Werk #14827: mk_sshd_config and Debian LXC in Proxmox

CMK version: 2.1.0p18 and up
OS version: debian 11 LXC on Proxmox

Error message: No data fetched from SSH daemon configuration

Since Werk #14827 daemon configuration is queried via sshd -T. This does’t work by default on the Proxmox debian11 LXC template . The ssh daemon is only socket-activated by systemctl, so sshd -T fails unless someone is logged in via ssh.

Solution: Change sshd to run permanently as a deamon.

systemctl disable ssh.socket; systemctl enable ssh.service

See also: Proxmox LXC container with dead ssh service | Proxmox Support Forum

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.