SV-217271r603959_rule
V-217271
SRG-OS-000125-GPOS-00065
SLES-12-030180
CAT II
10
Configure the SUSE operating system SSH daemon to only use MACs that employ FIPS 140-2 approved hashes.
Edit the "/etc/ssh/sshd_config" file to uncomment or add the line for the "MACs" keyword and set its value to "hmac-sha2-512" and/or "hmac-sha2-256" (The file might be named differently or be in a different location):
MACs hmac-sha2-512,hmac-sha2-256
Verify the SUSE operating system SSH daemon is configured to only use MACs that employ FIPS 140-2 approved hashes.
Check that the SSH daemon is configured to only use MACs that employ FIPS 140-2 approved hashes with the following command:
# sudo grep -i macs /etc/ssh/sshd_config
MACs hmac-sha2-512,hmac-sha2-256
If any hashes other than "hmac-sha2-512" or "hmac-sha2-256" are listed, the order differs from the example above, they are missing, or the returned line is commented out, this is a finding.
V-217271
False
SLES-12-030180
Verify the SUSE operating system SSH daemon is configured to only use MACs that employ FIPS 140-2 approved hashes.
Check that the SSH daemon is configured to only use MACs that employ FIPS 140-2 approved hashes with the following command:
# sudo grep -i macs /etc/ssh/sshd_config
MACs hmac-sha2-512,hmac-sha2-256
If any hashes other than "hmac-sha2-512" or "hmac-sha2-256" are listed, the order differs from the example above, they are missing, or the returned line is commented out, this is a finding.
M
4033