ansible all -m ping
10.1.0.6 | UNREACHABLE! => {
“changed”: false,
“msg”: “Failed to connect to the host via ssh: Permission denied (publickey,password).”,
“unreachable”: true
}
Hi ritesh,
Try to see if private clef ssh is well in autothorized_keys in host 10.1.0.6
Try also to ping with terminal for verify if connection is ok.
Thank you,
Regards,
when having connection problems use -vvv to show 'exact commands
used', you probably have an ssh setting that is not working as you
expect.