This ensures that only the sshd PIDs from the host are terminated, and it also resolves an issue where an sshd service inside a container might automatically restart if it gets killed, which would prevent sshd on the host from starting.
The current implementation kills all sshd daemons regardless of whether they are running in a Docker container or an LXC container.
This ensures that only the sshd PIDs from the host are terminated, and it also resolves an issue where an sshd service inside a container might automatically restart if it gets killed, which would prevent sshd on the host from starting.
The current implementation kills all sshd daemons regardless of whether they are running in a Docker container or an LXC container.