Home > VMware > Suppress SSH warning on ESXi hosts

Suppress SSH warning on ESXi hosts

January 3rd, 2013 Leave a comment Go to comments

Supressing VMware Client warning about enables SSH service through PoverCLI.

Setting magic value:

PowerCLI> get-vmhost | Set-VMHostAdvancedConfiguration UserVars.SuppressShellWarning 1

Name Value
---- -----
UserVars.SuppressShellWarning 1
WARNING: Set-VMHostAdvancedConfiguration cmdlet is deprecated. Use Set-AdvancedSetting cmdlet instead.
UserVars.SuppressShellWarning 1
UserVars.SuppressShellWarning 1
UserVars.SuppressShellWarning 1
UserVars.SuppressShellWarning 1
UserVars.SuppressShellWarning 1

Checking if everything OK:

PowerCLI> get-vmhost|Get-AdvancedSetting UserVars.SuppressShellWarning

Name Value Type Description
---- ----- ---- -----------
UserVars.Suppress... 1 VMHost
UserVars.Suppress... 1 VMHost
UserVars.Suppress... 1 VMHost
UserVars.Suppress... 1 VMHost
UserVars.Suppress... 1 VMHost
UserVars.Suppress... 1 VMHost

Source: VMware site

Categories: VMware Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.
You must be logged in to post a comment.