Information
OL 8 must force a frequent session key renegotiation for SSH connections to the server.
GROUP ID: V-248868
RULE ID: SV-248868r958408
Unapproved mechanisms that are used for authentication to the cryptographic module are not verified and therefore cannot be relied on to provide confidentiality or integrity, and DOD data may be compromised.
Session key regeneration limits the chances of a session key becoming compromised.
Solution
Configure the system to force a frequent session key renegotiation for SSH connections to the server by adding or modifying the following line in the "/etc/ssh/sshd_config" file:
RekeyLimit 1G 1h
The SSH daemon must be restarted for the settings to take effect.
$ sudo systemctl restart sshd.service