SV-258754r933323_rule
V-258754
SRG-OS-000095-VMM-000480
ESXI-80-000193
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-258754
False
ESXI-80-000193
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
5562