To disable this warning through the vSphere Client do the following:
- Select the ESXi host from the Inventory.
- Click the Configuration tab.
- Click Advanced Settings in the Software menu.
- Navigate to UserVars > UserVars.SuppressShellWarning.
- Set the value from 0 to 1.
- Click OK.