Phcorner After activating SSH or Shell in ESXI, whenever you log in to the web environment or with the vSphere Client, you will receive the following warning that the SSH or Shell service is active and you should disable it except for essential purposes
VMware suppress SSH warning The first method:
Now if you want to activate the SSH or Shell service but no other ⚠ warning is displayed, log in to the System from the ESXI web environment from the Manage section , then select Advanced settings . In the Search box, search for ssh . From the available keys, select "UserVars.SuppressShellWarning" and select Edit Option.
In the opened window, delete the number 0 and replace it with the number 1 .
Click Save.
As you can see, even though SSH and even Shell are enabled, no alerts are displayed.
If you want the warning to be displayed again as before , just put the same value 0 instead of 1 .
See more: Create Premium SSH WebSocket Account 30 Days
VMware suppress SSH warning The second method:
In this method, first activate the Ssh and shell service, then log in to the ESXI server with SSH and enter the following command.
esxcli system settings advanced set -o UserVarsSuppressShellWarning -i 1