For security reasons, by default, the ESXi Shell of VMware vSphere is disabled. The VMware administrator needs to enable it manually if they want to access it locally or remotely, due to some maintenance tasks, for example, ESXi service patch upgrade tasks, HBA or NIC driver upgrade and parameter configuration, and so on. The ESXi Shell can be used by administrators to troubleshoot on VMware ESXi hosts. We can access it in two ways:
Logging in directly on the console of the ESXi host
Logging in remotely by SSH
When you want to access ESXi Shell, you should enable ESXi Shell first. Then you can execute esxcli
. To enable local or remote ESXi Shell from the Direct Console User Interface (DCUI), we have to follow these steps:
From the DCUI of the ESXi host, press F2. Provide the credentials when prompted.
Select Troubleshooting Options. You can enable local TSM or remote TSM.
To enable local TSM allows users to log on to the...