SV-270671r1155244_rule
V-270671
SRG-OS-000250-GPOS-00093
UBTU-24-100860
CAT II
10
Configure the Ubuntu 24.04 LTS SSH client to use only MACs employing FIPS 140-3 approved algorithms by updating the "/etc/ssh/ssh_config" file with the following line:
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
Restart the "ssh" service for changes to take effect:
$ sudo systemctl restart ssh
Verify the SSH client is configured to only use MACs employing FIPS 140-3 approved algorithms with the following command:
$ sudo grep -ir macs /etc/ssh/ssh_config*
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
If any MACs other than "hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256" are listed, or the returned line is commented out, this is a finding.
V-270671
False
UBTU-24-100860
Verify the SSH client is configured to only use MACs employing FIPS 140-3 approved algorithms with the following command:
$ sudo grep -ir macs /etc/ssh/ssh_config*
MACs hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256
If any MACs other than "hmac-sha2-512-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-256" are listed, or the returned line is commented out, this is a finding.
M
5673