Remote ESXi Shell Access with SSH
If SSH connections are enabled for your ESXi host, 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 Web 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
To enable SSH from the vSphere Web Client
1
Select the host, click Manage, and keep Settings selected.
2
Click Security Profile.
3
4
Select SSH.
To change the Startup policy across reboots, select Start and stop with host and reboot the host.
5
Click OK.
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