Use the vSphere Client to enable local and remote access to the ESXi Shell.

1

Log in to a vCenter Server system using the vSphere Client.

2

Select the host in the inventory panel.

3

Click the Configuration tab and click Security Profile.

4

In the Services section, click Properties.

5

Select a service from the list.

ESXi Shell

SSH

Direct Console UI

6

Click Options and select Start and stop manually.

When you select Start and stop manually, the service does not start when you reboot the host. If you want the service to start when you reboot the host, select Start and stop with host.

7

Select Start to enable the service.

8

Click OK.

9

(Optional) Set the timeout for the ESXi Shell.

By default, the timeout for the ESXi Shell is 0 (disabled).

The timeout setting is the number of minutes that can elapse before you must log in after the ESXi Shell is enabled. After the timeout period, if you have not logged in, the shell is disabled.

Note

If you are logged in when the timeout period elapses, your session will persist. However, the ESXi Shell will be disabled, preventing other users from logging in.

a

Select the host in the inventory and click the Configuration tab.

b

Under Software, select Advanced Settings.

c

In the left panel, select UserVars.

d

In the UserVars.ESXiShellTimeOut field, enter the timeout setting.

e

Click OK.