{{{ oval_metadata("The SSH idle timeout interval should be set to an appropriate value.") }}} {{% if product in ['opensuse', 'sle12', 'sle15'] %}} {{% else %}} {{% endif %}} {{% if product in ['opensuse', 'sle12', 'sle15'] %}} {{% else %}} {{% endif %}} {{%- if sshd_distributed_config == "true" %}} {{%- endif %}} {{%- if product not in ["ol8", "ol9", "rhel8", "rhel9"] %}} {{% endif %}}
/etc/ssh/sshd_config
^[\s]*(?i)ClientAliveInterval[\s]+(\d+)[\s]*(?:#.*)?$
1

{{%- if sshd_distributed_config == "true" %}}

/etc/ssh/sshd_config.d
.*\.conf$
^[\s]*(?i)ClientAliveInterval[\s]+(\d+)[\s]*(?:#.*)?$
1
{{%- endif %}}

0