SV-252934r958908_rule
V-252934
SRG-OS-000423-GPOS-00187
TOSS-04-010280
CAT II
10
Install the SSH server package onto the host with the following command:
$ sudo yum install openssh-server
Configure the SSH service to automatically start now and after each reboot with the following command:
$ sudo systemctl enable --now sshd.service
Verify that the SSH package is installed:
$ rpm -q openssh-server
openssh-server-8.0p1-10.el8_4.2.x86_64
If the "SSH server" package is not installed, this is a finding.
Verify SSH is loaded and active with the following commands:
$ sudo systemctl is-active sshd
active
$ sudo systemctl is-enabled sshd
enabled
If "sshd" does not show a status of "active" and "enabled", this is a finding.
V-252934
False
TOSS-04-010280
Verify that the SSH package is installed:
$ rpm -q openssh-server
openssh-server-8.0p1-10.el8_4.2.x86_64
If the "SSH server" package is not installed, this is a finding.
Verify SSH is loaded and active with the following commands:
$ sudo systemctl is-active sshd
active
$ sudo systemctl is-enabled sshd
enabled
If "sshd" does not show a status of "active" and "enabled", this is a finding.
M
5469