Set a timeout for Shell Services

Details

https://blogs.vmware.com/vsphere/2012/09/vsphere-5-1-new-esxishellinteractivetimeout.html

Solution

From the vSphere web client-1. Select the host and click ‘Manage’ -> ‘Advanced System Settings’.
2. Type ESXiShellTimeOut in the filter.
3. Set the attribute to 3600 seconds (1 hour) or less.Note- A value of 0 disables the ESXi ShellTimeOut. It is recommended to set
the ESXiShellInteractiveTimeOut together with ESXiShellTimeOut.To implement the recommended configuration state, run the following PowerCLI
command-# Set UserVars.ESXiShellTimeOut to 3660 on all hosts
Get-VMHost | Foreach { Set-VMHostAdvancedConfiguration -VMHost $_ -Name UserVars.ESXiShellTimeOut -Value 3600 }

Default Value-The prescribed state is not the default state.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Access Control.This control applies to the following type of system VMware.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles