HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5)

Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
EE Fellow, 2xMVE, Expert of the Year 2017-2011, Scribe 2016-2012, Author of the Year 2018-6,2013-2012 VMware vExpert Pro, vExpert 2020-2011
Published:
In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi host.
In my previous Experts Exchange Articles, most have featured Basic and Intermediate VMware and Virtualisation Topics. 

If you would like to read my Basic VMware articles, they are listed at the end of this article for your convenience.

In this series of basic VMware articles for the Novice, I'll be showing you the basic VMware skills required to install, configure and deploy virtual machines using VMware's FREE VMware vSphere Hypervisor (ESXi).

In this article we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the VMware Host Client so you can remotely connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) server remotely via SSH (PuTTY). SSH Remote Access can still be enabled using the legacy deprecated vSphere Client but is unsupported.

If you want to use the vSphere Client to enabled SSH Remote Access to VMware vSphere Hypervisor 6.5 (ESXi 6.5), please follow the steps in this article which are still valid for 6.5. Just remember it's not supported.

HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 5.1 (ESXi 5.1)
 

1. Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) or vSphere vCenter Server using the vSphere Host Client (ESXi), or Web Client (vCenter Server)

Please refer to my EE article here HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5
https___esx001.cyrus-consultants.co..jpgOnce connected to the "default hypervisor home page", click the Host icon, and select Actions.
Edit-Article-000342.jpgClick the Actions gear icon.
https___esx001.cyrus-consultants.co..jpgClick the Services icon, and select Enable Secure Shell (SSH) and Enable console shell
https___esx001.cyrus-consultants.co..jpg
Confirm using PuTTY, you can connect to the server successfully.

In vSphere 6.5, when you have enabled Secure Shell (SSH) and console shell on a host from the VMware Host Client, you may notice that that a Configuration Issues warning yellow box appears on the Summary page of the host ESXi server.
https___esx001.cyrus-consultants.co..jpgThis Configuration Issues warning yellow box only appears when Secure Shell (SSH) and console shell has been enabled.

Please refer to my EE Article on HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell

Congratulations, you have successfully Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5).

Basic VMware Articles Series: 

These articles are also applicable to VMware vSphere Hypervisor ESXi 5.0, 5.5 and 6.0.
 
 
 
 
 
 
 
 
 
 
 
 
 
2
24,267 Views
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
EE Fellow, 2xMVE, Expert of the Year 2017-2011, Scribe 2016-2012, Author of the Year 2018-6,2013-2012 VMware vExpert Pro, vExpert 2020-2011

Comments (4)

John MilesTechnology Consultant

Commented:
Your articles are a great read, ESXi and VSphere hypervisor seems easy enough, until you have to get down and dirty. Thank you for your articles. @andrewhancock
Andrew Hancock (VMware vExpert PRO / EE Fellow)VMware and Virtualization Consultant
CERTIFIED EXPERT
Fellow
Expert of the Year 2017

Author

Commented:
Thank you for your comments.
Is there a way to enable this perenently of ESXi 6.5?  Jay
Pete LongTechnical Architect
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
Mine just closes the shell window post enter username, and there appears to be no button in 6.5 to grant shell access?

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.

Get access with a 7-day free trial.
Continue Growing Your Skills and Your Career
  • Interact with leading experts on your specific technology problems.
  • Receive the guidance of experienced professionals.
  • Learn from troubleshooting others have experienced.
  • Gain knowledge from a library of courses, all included.