8.0

Table Of Contents
3 Under System, select Advanced System Settings.
4 Make sure that the VMkernel.Boot.logPort and VMkernel.Boot.gdbPort fields are not set to
use the com port that you want to redirect the direct console to.
5 Set VMkernel.Boot.tty2Port to the serial port to redirect the direct console to: com1 or com2.
6 Click OK.
7 Save the host profile and attach the host to the profile. See the
vSphere Host Profiles
documentation.
Results
The setting to redirect the direct console to a serial port is stored by vCenter Server and persists
when you reprovision the host with Auto Deploy.
Enable ESXi Shell and SSH Access with the Direct Console User
Interface
Use the direct console user interface to enable the ESXi Shell.
Procedure
1 From the Direct Console User Interface, press F2 to access the System Customization menu.
2 Select Troubleshooting Options and press Enter.
3 From the Troubleshooting Mode Options menu, select a service to enable.
n Enable ESXi Shell
n Enable SSH
4 Press Enter to enable the service.
5 (Optional) Set the timeout for the ESXi Shell.
By default, timeouts for the ESXi Shell is 0 (not active).
The availability 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
deactivated.
Note If you are logged in when the timeout period elapses, your session will persist.
However, the ESXi Shell is deactivated, preventing other users from logging in.
a From the Troubleshooting Mode Options menu, select Modify ESXi Shell and SSH
timeouts and press Enter.
b Enter the availability timeout in minutes.
The availability timeout is the number of minutes that can elapse before you must log in
after the ESXi Shell is enabled.
VMware ESXi Installation and Setup
VMware, Inc. 224