SV-285319r1212174_rule
V-285319
SRG-OS-000126-GPOS-00066
WN25-SH-000070
CAT II
10
To configure the system, add or modify the following line in the "$env:ProgramData/ssh/sshd_config" file.
ClientAliveInterval 600
Restart the OpenSSH service for the settings to take effect.
If OpenSSH is not installed on the system, this requirement is not applicable.
Verify the "ClientAliveInterval" variable is set to a value of "600" or less by performing the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*ClientAliveInterval'
ClientAliveInterval 600
If "ClientAliveInterval" does not exist, does not have a value of "600" or less, or is commented out, this is a finding.
V-285319
False
WN25-SH-000070
If OpenSSH is not installed on the system, this requirement is not applicable.
Verify the "ClientAliveInterval" variable is set to a value of "600" or less by performing the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*ClientAliveInterval'
ClientAliveInterval 600
If "ClientAliveInterval" does not exist, does not have a value of "600" or less, or is commented out, this is a finding.
M
5719