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