SSH encountered an unknown error during the connection”
-
I am failing to ping a virtual box (vb) running pfsense via Ansible by running:
ansible pfsense -i hosts -m ping
which gives: "msg": "SSH encountered an unknown error during the connection.I can ssh the vb without problem, I use the key authentication to do that so no password required. My hosts file:
pfsense ansible_host=172.18.4.1 ansible_user=admin
I also installed python on the pfsense console to allow Ansible to run on the client. Any idea what can be wrong? Thank you -
You probably need to use the root user there.
Steve