Remove the warning when we enable SSH on an ESXI host

{title}

SSH error
By default on an ESXi Host when we enable SSH, a yellow triangle appears in the Host icon and the text “Configuration Issues SSH for the host has been enabled” on the Summary tab.
That warning indicates that something is not right. Having the SSH service open for both management and automation and / or monitoring tasks in a controlled manner should not " stain " the view of our Hosts.
Let's see how to remove the warning from an ESXi Host when we have the SSH service enabled. In the Hosts and Clusters inventory view we select the Host to configure. We click on the Configuration tab and at the Software level (see image) we click on Advanced Settings.


{title}


In the Advanced Settings window we select UserVars . In the window on the right, in the UserVars.SuppressShellWarning section we change the 0 to a 1.


{title}


Then clicking on “OK” will close the Advanced Settings window and we can verify that the warning has disappeared.
We must bear in mind that if we do not use the SSH service in a continuous and controlled way, we are leaving a door open for a possible attack on our Host. It is possible to configure the ESXi 5 firewall to filter and control from which network / networks or Host / s it is possible to access the SSH service of our Host.

  • 0