SV-239290r674799_rule
V-239290
SRG-OS-000095-VMM-000480
ESXI-67-000035
CAT II
10
From the vSphere Client, select the ESXi host and go to Configure >> System >> Services.
Under "Services", select "SSH" service and click the "Stop" button to stop the service. Use Edit Startup policy to "Start and stop manually" and 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, select the ESXi host and go to Configure >> System >> Services.
Under "Services", select "Edit", view 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 ESXi SSH service is running, this is a finding.
V-239290
False
ESXI-67-000035
From the vSphere Client, select the ESXi host and go to Configure >> System >> Services.
Under "Services", select "Edit", view 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 ESXi SSH service is running, this is a finding.
M
5326