Search the VMware Knowledge Base (KB)
View by Article ID

Unable to connect to an ESX host using Secure Shell (SSH) (1003807)

  • 61 Ratings


  • You are unable to connect to an ESX host using SSH.
  • You receive one or more of these errors when trying to connect:

    • Network error: Connection refused.
    • Error code: 24577 (0x6001)
    • Error code: 110 (0x006E)


This document guides you through the process of troubleshooting an SSH connection to an ESX host.

Note: This article applies only to ESX 4.x and earlier versions. In ESXi 4.1 and later, VMware recommends that you use Tech Support Mode. For more information, see Using Tech Support Mode in ESXi 4.1 and ESXi 5.0 (1017910).


Validate that each troubleshooting step below is true for your environment. Each step provides instructions or a link to a document, in order to eliminate possible causes and take corrective action as necessary. The steps are ordered in the most appropriate sequence to isolate the issue and identify the proper resolution. Do not skip a step.

  1. Verify that there is network connectivity between the SSH client and the ESX host. For more information, see Testing network connectivity with the Ping command (1003486) .

  2. Verify that port 22 on the ESX host can be reached from the SSH client machine. For more information, see Testing port connectivity with the Telnet command (1003487).

  3. Verify that the username and password is correct by logging directly in to the console. A common error is to use an incorrect username or password, which causes a login failure and an access denied error message to appear.

  4. Verify that the SSH Daemon is running. For more information, see Verifying that the Secure Shell Daemon is running on an ESX host (1003906).

  5. Verify that user is permitted to access the host via SSH. For more information, see Enabling root SSH login on an ESX host (8375637).

  6. Verify that the ESX host firewall permits SSH connections. For more information, see Configuring the ESX host firewall for SSH (1003808).

Note: If your problem still exists after trying the steps in this article:

Additional Information

Note: To enable SSH access for local user accounts created on ESX 4.1, see Local users created on ESX and ESXi 4.1 systems cannot log in (1024235).

See Also

Update History

06/13/2012 - Updated to include information about Tech Support Mode on ESXi 06/18/2012 - Added error messages 09/11/2013 - Added links to translations

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 61 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 61 Ratings