1. Home
  2. Security Hardening
  3. CIS VMware ESXi 5.1 V1.0.1 L1
  4. Set a timeout to automatically terminate idle ESXi Shell and SSH sessions

Set a timeout to automatically terminate idle ESXi Shell and SSH sessions

Details

http://pubs.vmware.com/vsphere-51/topic/com.vmware.vsphere.security.doc/GUID-A1D310D7-F00B-4827-9469-EC2C318A0C30.html

Solution

From the vSphere web client-1. Select the host.
2. Click ‘Manage’ -> ‘Advanced System Settings’.
3. Type ESXiShellInteractiveTimeOut in the filter.
4. Set the attribute to the desired value.Note- A value of 0 disables the ESXi ShellInteractiveTimeOut.Additionally, the following PowerCLI command will implement the recommended
configuration state-# Set Remove UserVars.ESXiShellInteractiveTimeOut to 300 on all hosts
Get-VMHost | Foreach { Set-VMHostAdvancedConfiguration -VMHost $_ -Name UserVars.ESXiShellInteractiveTimeOut -Value 300 }

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