Skip to content

remote-login: support both sshd service and socket systemd units

When disabling remote login, disable both the systemd service and socket units. When enabling remote login, enable only the socket and ensure the service is disabled so the two do not conflict.

Fixes CVE-2023-5616

Signed-off-by: Alex Murray alex.murray@canonical.com

Merge request reports