SV-230526r627750_rule
V-230526
SRG-OS-000423-GPOS-00187
RHEL-08-040160
CAT II
10
Install SSH packages onto the host with the following commands:
$ sudo yum install openssh-server.x86_64
Configure the SSH service to automatically start after reboot with the following command:
$ sudo systemctl enable sshd.service
Verify SSH is loaded and active with the following command:
$ sudo systemctl status sshd
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: active (running) since Tue 2015-11-17 15:17:22 EST; 4 weeks 0 days ago
Main PID: 1348 (sshd)
CGroup: /system.slice/sshd.service
1053 /usr/sbin/sshd -D
If "sshd" does not show a status of "active" and "running", this is a finding.
If the "SSH server" package is not installed, this is a finding.
V-230526
False
RHEL-08-040160
Verify SSH is loaded and active with the following command:
$ sudo systemctl status sshd
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled)
Active: active (running) since Tue 2015-11-17 15:17:22 EST; 4 weeks 0 days ago
Main PID: 1348 (sshd)
CGroup: /system.slice/sshd.service
1053 /usr/sbin/sshd -D
If "sshd" does not show a status of "active" and "running", this is a finding.
If the "SSH server" package is not installed, this is a finding.
M
2921