SV-99345r1_rule
V-88695
SRG-OS-000423-GPOS-00187
VROM-SL-001285
CAT I
10
Update the Ciphers directive with the following command:
# sed -i "/^[^#]*Ciphers/ c\Ciphers aes256-ctr,aes128-ctr" /etc/ssh/sshd_config
Save and close the file. Restart the sshd process:
# service sshd restart
Check the SSH daemon configuration for DoD-approved encryption to protect the confidentiality of SSH remote connections by performing the following commands:
Check the Cipher setting in the "sshd_config" file.
# grep -i Ciphers /etc/ssh/sshd_config | grep -v '#'
The output must contain either none or any number of the following algorithms:
aes128-ctr, aes256-ctr.
If the output contains an algorithm not listed above, this is a finding.
Expected Output:
Ciphers aes256-ctr,aes128-ctr
V-88695
False
VROM-SL-001285
Check the SSH daemon configuration for DoD-approved encryption to protect the confidentiality of SSH remote connections by performing the following commands:
Check the Cipher setting in the "sshd_config" file.
# grep -i Ciphers /etc/ssh/sshd_config | grep -v '#'
The output must contain either none or any number of the following algorithms:
aes128-ctr, aes256-ctr.
If the output contains an algorithm not listed above, this is a finding.
Expected Output:
Ciphers aes256-ctr,aes128-ctr
M
3461