# Connecting to an ESXI Hosts error

**URL:** <https://forum.ansible.com/t/connecting-to-an-esxi-hosts-error/37301>\
**Category:** AWX Project\
**Tags:** vmware\
**Created:** [November 3, 2022, 5:08pm UTC](https://forum.ansible.com/t/connecting-to-an-esxi-hosts-error/37301 "2022-11-03T17:08:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mr.G](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mr.G](https://forum.ansible.com/u/Mr.G)\
**Post date:** [November 3, 2022, 5:08pm UTC](https://forum.ansible.com/t/connecting-to-an-esxi-hosts-error/37301/1 "2022-11-03T17:08:29Z")

</div>

**Im attempting to run a job to connect to an VMware ESXI host. when running the job im receiving error. Im tried to add a public key into the host and generate a new key but still unsuccessful. Does anyone know a way to connect to an ESXI host and provide a detaiels step by step instruction on making a publickey?**

**( I ued x.x.x.x as an example for the host ip of the ESXI server)**

**fatal: [x.x.x.x]: UNREACHABLE! =\> {“changed”: false, “msg”: “Failed to connect to the host via ssh: Warning: Permanently added ‘x.x.x.x’ (RSA) to the list of known hosts.\r\nroot@x.x.x.x: Permission denied (publickey,keyboard-interactive).”, “unreachable”: true}**

7

8  
PLAY RECAP \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*13:01:49

9  
x.x.x.x : ok=0 changed=0 **unreachable=1** failed=0 skipped=0 rescued=0 ignored=0
