Enable SSH Access in
the Direct Console
If running commands remotely is
disabled on an
ESXi
host, you cannot log in to the host by using a remote shell. You can
enable running commands remotely from the direct console or from the vSphere Client
. - At the direct console of theESXihost, press F2 and provide credentials when prompted.
- Scroll toTroubleshooting Optionsand press Enter.
- ChooseEnable SSHand press Enter.On the left,Enable SSHchanges toDisable SSH. On the right,SSH is Disabledchanges toSSH is Enabled.
- Press Esc until you return to the main direct console menu.
After you have enabled SSH,
you can log in to the
ESXi Shell
remotely and run
ESXi Shell
commands.