5.2.20 Ensure system-wide crypto policy is not over-ridden

Information

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

Rationale:

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

Solution

Run the following commands:

# sed -ri 's/^s*(CRYPTO_POLICYs*=.*)$/# 1/' /etc/sysconfig/sshd
# systemctl reload sshd

See Also

https://workbench.cisecurity.org/files/3379