|Enabling SSH and the ESXi shell|
Select the ESXi and go to the 'Configuration' tab. Once there, scroll down the page and select 'Advanced Settings' in the 'Software' menu. A pop-up windows will appear, where you have to select 'Uservars' then scroll down the list of setting to the very bottom and set 'UserVars.SuppressShellWarning' to 1.
|How to set UserVars.SuppressShellWarning|
That's all. I hope this helps.