<

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

Published on
6,160 Points
2,060 Views
1 Endorsement
Last Modified:
Andrew Hancock (VMware vExpert / EE MVE^2)
MVE^2, Expert of the Year 2016-2011, Scribe 2016-2012, Author of the Year 2016,2013-2012 VMware vExpert 2016-2011 27 years of experience.
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.
 
 
 
 
 
 
 
 
 
 
 
 
 
1
Comment
4 Comments
 
LVL 1

Expert Comment

by:John Miles
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
0
 
LVL 119

Author Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Thank you for your comments.
1
 

Expert Comment

by:Michael Vincent
Is there a way to enable this perenently of ESXi 6.5?  Jay
0
 
LVL 57

Expert Comment

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

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Join & Write a Comment

Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month