SV-269120r1050610_rule
V-269120
SRG-OS-000033-GPOS-00014
ALMA-09-003650
CAT II
10
Configure AlmaLinux OS 9 to force a frequent session key renegotiation for SSH connections to the server by running the following command:
$ echo "RekeyLimit 1G 1h" > /etc/ssh/sshd_config.d/40-rekeylimit.conf
Verify the SSH server is configured to force frequent session key renegotiation with the following command:
$ sshd -T | grep rekeylimit
rekeylimit 1073741824 3600
If "RekeyLimit" does not have a maximum data amount and maximum time defined, this is a finding.
V-269120
False
ALMA-09-003650
Verify the SSH server is configured to force frequent session key renegotiation with the following command:
$ sshd -T | grep rekeylimit
rekeylimit 1073741824 3600
If "RekeyLimit" does not have a maximum data amount and maximum time defined, this is a finding.
M
5664