SV-269437r1117271_rule
V-269437
SRG-OS-000424-GPOS-00188
ALMA-09-042810
CAT II
10
To enable the sshd service run the following command:
$ systemctl enable --now sshd
Verify that "sshd" is active with the following command:
$ systemctl status sshd
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-01-26 09:41:09 UTC; 2h 48min ago
If the "sshd" service is not enabled and active, this is a finding.
V-269437
False
ALMA-09-042810
Verify that "sshd" is active with the following command:
$ systemctl status sshd
sshd.service - OpenSSH server daemon
Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: enabled)
Active: active (running) since Fri 2024-01-26 09:41:09 UTC; 2h 48min ago
If the "sshd" service is not enabled and active, this is a finding.
M
5664