Hello!
I’m trying to connect to several servers using ansible, but I’m receiving the error below:
$ ansible all -i xxx.xxx.xxx.xxx, -u adsm -m raw -a "echo Hello"
xxx.xxx.xxx.xxx | UNREACHABLE! => {
"changed": false,
"msg": "Failed to connect to the host via ssh: Permission denied (publickey,password,keyboard-interactive).",
"unreachable": true
}
I’m able to connect to multiple servers on the same network, but I’m receiving this error on some specific servers. The target server has Python 3.7.5 installed and it’s accessible via ssh with the mentioned user.
Appreciate any help on this.
Thanks!