Remote ESXi Shell Access with SSH
If Secure Shell is enabled for the ESXi Shell, you can run shell commands by using a Secure Shell client such as SSH or PuTTY.
Enabling SSH for the ESXi Shell
By default, remote command execution is disabled on an ESXi host, and you cannot log in to the host using a remote shell. You can enable remote command execution from the direct console or from the vSphere Client.
To enable SSH access in the direct console
1
2
Scroll to Troubleshooting Options and press Enter.
3
Choose Enable SSH and press Enter once.
On the left, Enable SSH changes to Disable SSH. On the right, SSH is Disabled changes to SSH is Enabled.
4
To enable SSH from the vSphere Client
1
2
Click Security Profile in the Software panel.
3
4
Select SSH and click Options.
5
To change the Startup policy across reboots, click Start and stop with host and reboot the host.
6
After you have enabled SSH, you log in to the ESXi Shell remotely and run ESXi Shell commands.
Using the ESXi Shell with SSH
If SSH is enabled on your ESXi host, you can run commands on that shell using an SSH client.
To access the remote ESXi Shell
1
2
Precise directions vary depending on the SSH client that you are using. See vendor documentation and support.
3