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

Information

NOTE: Update SHELL_SESSION_TIMEOUT to the appropriate value for the local environment.

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.

See Also

https://workbench.cisecurity.org/files/902

Item Details

Category: ACCESS CONTROL

References: 800-53|AC-12, CSCv6|16.4

Plugin: VMware

Control ID: 5b69720fa2066bbe3fac1776bdafd710258cf35c2f6a130c48c945001afd86ca