ESXi Shell and SSH for the Host has been enabled

Error
ESXi Shell and SSH appear on an ESXi 5.x host summary Tab.

    ESXi host shows these errors:

-> ESXi Shell for the Host has been enabled
-> SSH for the host has been enabled

Cause
These messages that appear with a yellow exclamation mark inform administrators that remote access is enabled for the server. You can simply disable them to remove Messages.

Resolution
Disable these warning using vSphere Client

1: Select ESXi Host From the inventory
2: Click Configuration tab in Software Panel
3: Navigate to UserVars > UserVars.SuppressShellWarning.

1

4: Change the value from 0 to 1
5: Click OK

You can also Disable and enable above error warnings using esxcli

Login to ESXi host and run following command to disable
vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 1

To enable the warning simply change the value 1 to 0
vim-cmd hostsvc/advopt/update UserVars.SuppressShellWarning long 0
Disable remote access using Web Client:
Select vCenter from the Home Menu
Select Host-Manage- Security Profile- Scroll to Services -Edit

2

Disable warning message using Web Client:
Select the Host
Look at the below screenshot and set the value to 1 and OK.

3

4

Leave a Reply

Your email address will not be published. Required fields are marked *