vSphere

esxicli “Connection failed” |VMware Communities

I’m trying to connect to an ESXi 6.5 host through vCenter 6.7 with esxcli.exe from a Windows 10 machine but it fails with “Connection failed“. I’m using:

 

(fake thumbprint + password)

esxcli –server 192.168.0.2 –thumbprint 12:34:56:78:9:0A –username administrator –password ‘Secret87#’ –vihost 192.168.0.3

or

esxcli –server 192.168.0.2 –thumbprint 12:34:56:78:9:0A –username administrator@vsphere.local –password ‘Secret87#’ –vihost 192.168.0.3

or

esxcli –server 192.168.0.2 –thumbprint 12:34:56:78:9:0A –username domainadmin@company.tld –password ‘Secret17*’ –vihost 192.168.0.3

Specifying the vCenter without the ESXi option gives me the same result

esxcli –server 192.168.0.2 –thumbprint 12:34:56:78:9:0A –username administrator –password ‘Secret87#’

 

– All credentials are correct because I can use them to log in through the webinterface

– vCenter=192.168.0.2 ESXi host=192.168.0.3

– ESXi shell is enabled and running on the ESXi host through vCenter

– SSH is enabled and running on the ESXi host through vCenter

– Thumbprint is correct (if I use a different thumbprint it fails)

– vCenter is installed on a Windows server and Windows firewall is disabled on that server.

 

What am I missing? What am I doing wrong?

 

(click for full)


Source link

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Close