SV-256400r958478_rule
V-256400
SRG-OS-000095-VMM-000480
ESXI-70-000035
CAT II
10
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Services.
Under "Services", select the "SSH" service and click the "Stop" button.
Click the "Edit Startup policy..." button.
Select the "Start and stop manually" radio button.
Click "OK".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following commands:
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "SSH"} | Set-VMHostService -Policy Off
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "SSH"} | Stop-VMHostService
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Services.
Under "Services", locate the "SSH" service and verify it is "Stopped".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "SSH"}
If the SSH service is "Running", this is a finding.
V-256400
False
ESXI-70-000035
From the vSphere Client, go to Hosts and Clusters.
Select the ESXi Host >> Configure >> System >> Services.
Under "Services", locate the "SSH" service and verify it is "Stopped".
or
From a PowerCLI command prompt while connected to the ESXi host, run the following command:
Get-VMHost | Get-VMHostService | Where {$_.Label -eq "SSH"}
If the SSH service is "Running", this is a finding.
M
5518