SV-99279r1_rule
V-88629
SRG-OS-000250-GPOS-00093
VROM-SL-000865
CAT II
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-88629
False
VROM-SL-000865
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