SV-99339r1_rule
V-88689
SRG-OS-000393-GPOS-00173
VROM-SL-001225
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-88689
False
VROM-SL-001225
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