SV-283675r1193286_rule
V-283675
SRG-OS-000250-GPOS-00093
ALMA-09-003100
CAT I
10
Configure the AlmaLinux OS 9 SSH daemon to use systemwide crypto policies by running the following commands:
$ sudo dnf reinstall openssh-server
Verify that systemwide crypto policies are in effect with the following command:
$ sudo grep Include /etc/ssh/sshd_config /etc/ssh/sshd_config.d/*
/etc/ssh/sshd_config:Include /etc/ssh/sshd_config.d/*.conf
/etc/ssh/sshd_config.d/50-redhat.conf:Include /etc/crypto-policies/back-ends/opensshserver.config
If "Include /etc/ssh/sshd_config.d/*.conf" or "Include /etc/crypto-policies/back-ends/opensshserver.config" are not included in the system sshd config or the file "/etc/ssh/sshd_config.d/50-redhat.conf" is missing, this is a finding.
V-283675
False
ALMA-09-003100
Verify that systemwide crypto policies are in effect with the following command:
$ sudo grep Include /etc/ssh/sshd_config /etc/ssh/sshd_config.d/*
/etc/ssh/sshd_config:Include /etc/ssh/sshd_config.d/*.conf
/etc/ssh/sshd_config.d/50-redhat.conf:Include /etc/crypto-policies/back-ends/opensshserver.config
If "Include /etc/ssh/sshd_config.d/*.conf" or "Include /etc/crypto-policies/back-ends/opensshserver.config" are not included in the system sshd config or the file "/etc/ssh/sshd_config.d/50-redhat.conf" is missing, this is a finding.
M
5664