Remove or Disable ESXi Shell SSH Warnings-Errors for ESXi vSphere 5



If you receive the following warnings in vSphere/vCenter 5 on and ESXi 5 host, there is a way to suppress the warning messages:
Configuration Issues
ESXi Shell for the host has been enabled
SSH for the host has been enabled
This warning occurs when you have Remote SSH and the ESXi Shell for management of hosts enabled. By default, it will alert you, as a precautionary measure, to ensure you do not accidently leave it enabled. If you wish to permanently disable the warnings, you can easily do so from the GUI or command line:
- GUI - Remove Shell SSH Warnings
From vCenter or vSphere, go to Home > Inventory > Hosts and Clusters and select the host. On the configuration tab, click on Advanced Settings:
From the Advanced Settings window, select UserVars. Scroll to the bottom and change the value of UserVars.SuppressShellWarning from 0 to 1:
Repeat these steps for any other hosts
- Command Line - Remove Shell SSH Warnings
Login to the host by command line and run the following command:
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1
That's it! If you want to perform this on an ESXi 4 host, the GUI steps are the same, but the command line steps are different. Check out this VMware KB for the differences
Post new comment