SV-270666r1066487_rule
V-270666
SRG-OS-000423-GPOS-00187
UBTU-24-100810
CAT I
10
Enable the "ssh" service to start automatically on reboot with the following command:
$ sudo systemctl enable ssh.service
ensure the "ssh" service is running
$ sudo systemctl start ssh.service
Verify the "sshd.service" is enabled and active with the following commands:
$ sudo systemctl is-enabled ssh
enabled
$ sudo systemctl is-active ssh
active
If "ssh.service" is not active or loaded, this is a finding.
V-270666
False
UBTU-24-100810
Verify the "sshd.service" is enabled and active with the following commands:
$ sudo systemctl is-enabled ssh
enabled
$ sudo systemctl is-active ssh
active
If "ssh.service" is not active or loaded, this is a finding.
M
5673