SV-285317r1211179_rule
V-285317
SRG-OS-000423-GPOS-00187
WN25-SH-000050
CAT II
10
To configure the system, add or modify the following line in the "$env:ProgramData/ssh/sshd_config" file.
An example configuration line is:
RekeyLimit 1G 1h
Restart the OpenSSH service for the settings to take effect.
If OpenSSH is not installed on the system, this requirement is NA.
Verify the OpenSSH server is configured to force frequent session key renegotiation with the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*RekeyLimit'
RekeyLimit 1G 1h
If "RekeyLimit" does not have a maximum data amount and maximum time defined, is missing, or is commented out, this is a finding.
V-285317
False
WN25-SH-000050
If OpenSSH is not installed on the system, this requirement is NA.
Verify the OpenSSH server is configured to force frequent session key renegotiation with the following command:
C:\ > Get-Content "$env:ProgramData\ssh\sshd_config" | Select-String -Pattern '^\s*RekeyLimit'
RekeyLimit 1G 1h
If "RekeyLimit" does not have a maximum data amount and maximum time defined, is missing, or is commented out, this is a finding.
M
5719