SV-279530r1192590_rule
V-279530
SRG-OS-000279-GPOS-00109
NXAC-OS-000006
CAT II
10
Configure SSH.
1. For AOS, configure SSH then restart the SSH for the changes to take effect.
$ 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.
$ 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.
$ 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.
$ sudo salt-call state.sls security/KVM/sshdKVM
$ sudo systemctl restart sshd
Verify Nutanix OS is configured to terminate all network sessions to meet the more stringent session requirement of privileged sessions using the following command.
$ sudo grep -i clientalive /etc/ssh/sshd_config
ClientAliveInterval 600
ClientAliveCountMax 1
If ClientAliveInterval is not "600" and ClientAliveCountMax is not "1" (or "0" for AHV), this is a finding.
V-279530
False
NXAC-OS-000006
Verify Nutanix OS is configured to terminate all network sessions to meet the more stringent session requirement of privileged sessions using the following command.
$ sudo grep -i clientalive /etc/ssh/sshd_config
ClientAliveInterval 600
ClientAliveCountMax 1
If ClientAliveInterval is not "600" and ClientAliveCountMax is not "1" (or "0" for AHV), this is a finding.
M
5730