1.6.3 Ensure system wide crypto policy is not set in sshd configuration

Information

System-wide Crypto policy can be over-ridden or opted out of for openSSH

Over-riding or opting out of the system-wide crypto policy could allow for the use of less secure Ciphers, MACs, KexAlgorithms and GSSAPIKexAlgorithm

Note: If changes to the system-wide crypto policy are required to meet local site policy for the openSSH server, these changes should be done with a sub-policy assigned to the system-wide crypto policy. For additional information see the CRYPTO-POLICIES(7) man page

Solution

Run the following commands:

# sed -ri "/^\s*(CRYPTO_POLICY\s*=)/Is/^/# /" /etc/sysconfig/ssh

# systemctl reload sshd

See Also

https://workbench.cisecurity.org/benchmarks/28370

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-12, CSCv7|18.5

Plugin: Unix

Control ID: 978b475d5455f74b021ee8a654ee3770f4552a4ac287fbace5447ec5469fb2aa