Rule ID
SV-258878r933695_rule
Version
V1R1
CCIs
CCI-000366
If compression is allowed in an SSH connection prior to authentication, vulnerabilities in the compression software could result in compromise of the system from an unauthenticated connection.
At the command line, run the following command to verify the running configuration of sshd: # sshd -T|&grep -i Compression Example result: compression no If there is no output or if "Compression" is not set to "delayed" or "no", this is a finding.
Navigate to and open: /etc/ssh/sshd_config Ensure the "Compression" line is uncommented and set to the following: Compression no At the command line, run the following command: # systemctl restart sshd.service