vSphere Web Client and SSH Warnings

By | March 20, 2015

I started using the vSphere C# client back when the product was called Virtual Infrastructure 3, and despite its many flaws it has become second nature to me. I’ve used the Web Client in 5.0 and 5.5 but never really gotten into it (for many reasons, speed being the main one).

I typically use Host Profiles to configure new hosts through the C# client, so have never been through the process manually with the Web Client before. Starting with 6.0 I decided to try that and found a pleasant surprise to the usual yellow warnings I had seen previously.

I always enable SSH as when there are problems I like to be able to see esxtop and get information first hand from hosts, and I typically enable SSH via the DCUI after configuring the management network settings. Following this I’d join the host to the cluster and apply the appropriate host profile (containing the advanced setting “UserVars.SuppressShellWarning”), so the warning that SSH is enabled is purely transitory.

When I join the host to the cluster in the Web Client, I see the warning icon against the host and select the host to see what it is:

ssh_warning

The “Suppress Warning” link caught my eye, and when clicking on it I got this message:

ssh_suppress_notice

After that the warning disappeared ! Looking in the Advanced Settings we can see that this sets the value for the “UserVars.SuppressShellWarning” setting to 1.

host_advanced_settings

I know that this quality of life improvement was also present in the 5.5 version of the Web Client (and maybe before) but it’s a nice little touch for those small deployments where you can clear the alerts on your host with a couple of clicks instead of having to lookup the setting. Especially when you’re not licensed for host profiles !