SV-261328r996453_rule
V-261328
SRG-OS-000423-GPOS-00187
SLEM-05-255015
CAT I
10
Enable "openssh.service" to start automatically on reboot with the following command:
> sudo systemctl enable sshd.service
For the changes to take effect immediately, start the service with the following command:
> sudo systemctl restart sshd.service
Verify "sshd.service" is enabled and active by using the following command:
> systemctl status sshd.service | grep -i active
Active: active (running) since Wed 2023-11-29 09:49:45 MST; 2 months 23 days ago
If "openssh.service" is not active, this is a finding.
V-261328
False
SLEM-05-255015
Verify "sshd.service" is enabled and active by using the following command:
> systemctl status sshd.service | grep -i active
Active: active (running) since Wed 2023-11-29 09:49:45 MST; 2 months 23 days ago
If "openssh.service" is not active, this is a finding.
M
5596