SV-230528r627750_rule
V-230528
SRG-OS-000033-GPOS-00014
RHEL-08-040162
CAT II
10
Configure the system to force a frequent session key renegotiation for SSH connections by the client by add or modifying the following line in the "/etc/ssh/ssh_config" file:
RekeyLimit 1G 1h
Restart the SSH daemon for the settings to take effect.
$ sudo systemctl restart sshd.service
Verify the SSH client is configured to force frequent session key renegotiation with the following command:
$ sudo grep -i RekeyLimit /etc/ssh/ssh_config
RekeyLimit 1G 1h
If "RekeyLimit" does not have a maximum data amount and maximum time defined, is missing or commented out, this is a finding.
V-230528
False
RHEL-08-040162
Verify the SSH client is configured to force frequent session key renegotiation with the following command:
$ sudo grep -i RekeyLimit /etc/ssh/ssh_config
RekeyLimit 1G 1h
If "RekeyLimit" does not have a maximum data amount and maximum time defined, is missing or commented out, this is a finding.
M
2921