SV-279628r1192513_rule
V-279628
SRG-OS-000425-GPOS-00189
NXAC-OS-000203
CAT II
10
However, Nutanix AOS has the OpenSSH-Server package preinstalled as part of its base package set. If the package is not installed, some corruption has taken place and the CVM must be rebuilt.
Configure SSH to meet DOD standard, if already installed on the OS instance.
1. For AOS, configure SSH, then restart the SSH for the changes to take effect using the following command.
$ sudo salt-call state.sls security/CVM/sshdCVM
$ sudo systemctl restart sshd
2. For Prism Central, configure SSH, then restart the SSH for the changes to take effect using the following command.
$ sudo salt-call state.sls security/PCVM/sshdPCVM
$ sudo systemctl restart sshd
3. For Files, configure SSH, then restart the SSH for the changes to take effect using the following command.
$ sudo salt-call state.sls security/AFS/sshdAFS
$ sudo systemctl restart sshd
4. For AHV configure SSH, then restart the SSH for the changes to take effect using the following command.
$ sudo salt-call state.sls security/KVM/sshdKVM
$ sudo systemctl restart sshd
Verify Nutanix OS has SSH loaded and active using the following command.
Note: The default Protocol version of the ssh daemon is 2, which provides the necessary mitigations to prevent replay attacks.
$ 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-279628
False
NXAC-OS-000203
Verify Nutanix OS has SSH loaded and active using the following command.
Note: The default Protocol version of the ssh daemon is 2, which provides the necessary mitigations to prevent replay attacks.
$ 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
5730