Enable the
in the Direct Console

If you have access to the Direct Console Interface, you can enable the
from there.
  1. At the direct console of the
    host, press F2 and provide credentials when prompted.
  2. Scroll to
    Troubleshooting Options
    and press Enter.
  3. Select
    Enable ESXi Shell
    and press Enter.
    On the left,
    Enable ESXi Shell
    changes to
    Disable ESXi Shell
    . On the right,
    ESXi Shell is Disabled
    changes to
    ESXi Shell is Enabled
    .
  4. Press Esc until you return to the main direct console screen.
After you enable the
, you can use it from that monitor or through a serial port.