From de0d35d021ce8d1d7f217794e304a129460ea0f1 Mon Sep 17 00:00:00 2001 From: teacup-on-rockingchair <315160+teacup-on-rockingchair@users.noreply.github.com> Date: Mon, 23 Feb 2026 10:42:46 +0200 Subject: [PATCH] Make sure that distro delivered config in /usr/etc/ssh/sshd_config is also checked for permissions --- .../guide/services/ssh/file_permissions_sshd_config/rule.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/linux_os/guide/services/ssh/file_permissions_sshd_config/rule.yml b/linux_os/guide/services/ssh/file_permissions_sshd_config/rule.yml index f36678bf675..abaa7999d57 100644 --- a/linux_os/guide/services/ssh/file_permissions_sshd_config/rule.yml +++ b/linux_os/guide/services/ssh/file_permissions_sshd_config/rule.yml @@ -50,6 +50,9 @@ template: vars: filepath: - /etc/ssh/sshd_config + {{% if product == 'sle16' %}} + - /usr/etc/ssh/sshd_config + {{% endif %}} filemode: '0600' platform: system_with_kernel