- ESXi host shows the error:
ESXi Shell for the Host has been enabled
- ESXi host shows the error:
SSH for the host has been enabled
To disable these warnings:
- Select the ESXi host from the Inventory.
- Select Advanced Settings from the Software menu.
- Navigate to UserVars > UserVars.SuppressShellWarning.
- Set the value from 0 to 1.
- Click OK.
To disable these warnings using esxcli:
- Connect to the ESXi host through SSH using root credentials.
- Run this command:
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1
To enable these warnings using esxcli:
- Connect to the ESXi host through SSH using root credentials.
- Run this command:
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 0
Source: Link