Enable SSH on the ESXi Host

  • Post category:VMware / Vmware vSphere
  • Post last modified:July 24, 2024

SSH (Secure Shell) on ESXi (VMware’s hypervisor) is a method to securely access the command line interface of an ESXi host over a network. It is typically used for advanced troubleshooting, configuration, and management tasks that are not available through the vSphere Client or the host’s Direct Console User Interface (DCUI).

In this article, we will solve one of the very small problem of enabling SSH on the ESXi Host.

In case you are not able to SSH to the ESXi Host, you can follow this article to make that thing work. Now let’s understand where we want to make this change.

  1. Standalone ESXi Host with no vCenter Access.
  2. ESXi Host with vCenter Access.

Let’s start with the First Pointer.

Standalone ESXi Host with no vCenter Access.

You can get Console Access to Your ESXi Host using IDRAC or ILO and you should see something like this:

Enable SSH on the ESXi Host

Now in order to Customize the OS you need to Press F2 and Enter the Root Credentials.

Enable SSH on the ESXi Host

Select the Option:  Troubleshooting Options

Enable SSH on the ESXi Host

Here you can enable SSH, ESXi Shell, and Modify the ESXi Timeouts. Press Enter to Enable

Enable SSH on the ESXi Host

 

ESXi Host with vCenter Access.

For this, you just need to log in to the vCenter Server by entering your Administrator Username and Credentials.

  1. Log in to a vCenter Server system using the vSphere Client.
  2. Select the host in the Inventory panel.
  3. Click the Configuration tab and click Security Profile.
  4. In the Services section, click Properties.
  5. Select ESXi Shell and SSH from this list:

ESXi Shell
SSH
Direct Console UI

6. Click Options and select Start and Stop manually.

7. Click Start to enable the service.
8. Click OK.

Now you can easily connect to the ESXi Host using SSH from any SSH Client like Putty, mRemote, etc.

Ashutosh Dixit

I am currently working as a Senior Technical Support Engineer with VMware Premier Services for Telco. Before this, I worked as a Technical Lead with Microsoft Enterprise Platform Support for Production and Premier Support. I am an expert in High-Availability, Deployments, and VMware Core technology along with Tanzu and Horizon.

Leave a Reply