Alan's sysadmin Blog

Working smarter not harder

ESXi Shell for the host has been enabled warning

Posted by Alan McBurney on September 23, 2011


So I have just spun up a new vSphere 5 install on my home lab.

One of the first things I wanted to do was fix the certificate error by replacing the default certificate with a one from my internal PKI.

The only way I can see to do this is via the shell. Shell access is disabled by default so the first thing to do was enable Shell access.

To enable shell access I went to the Configuration tab on the host and drilled down to SoftwareSecurity Profiles and enabled the ESXi Shell to Start and stop with host
ESXi Shell

I now have shell access enabled but I now also have a warning message on the host complaining about configuration issues and that ESXi Shell access has been enabled.
ESXi Shell Enabled

To disable the warning its simply a matter of going back to the Configuration tab on the host then – SoftwareAdvanced Settingsuservars and changing the UserVars.SupressShellWarning to 1

Supress Shell Warning

Advertisements

One Response to “ESXi Shell for the host has been enabled warning”

  1. mickrussom said

    This shuts off the warning with a commanline one-liner

    esxcfg-advcfg -s 1 /UserVars/SuppressShellWarning

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: