The ESXi Shell is disabled by default. To increase security when you enable the shell, you can set an availability timeout for the ESXi Shell.
The availability timeout defines how long both local and remote shell logins are allowed before the ability to log in through the shell is disabled. When the availability timeout expires, any existing shell sessions remains, but new shell sessions are not allowed.
Procedure
- Click Manage in the VMware Host Client inventory and click Advanced Settings.
- Enter UserVars.ESXiShellTimeOut in the Search text box and click the Search icon.
- Right-click UserVars.ESXiShellTimeOut and select Edit option from the drop-down menu.
The
Edit option dialog box opens.
- In the New value text box, enter the timeout setting.
A value of zero (0) disables the timeout.
- Click Save.
You must restart the SSH service and the
ESXi Shell service for the timeout to take effect.
- (Optional) To reset the key setting to default, right-click the appropriate key from the list and select Reset to default.