getting this error while installing ansible tower

Hello Ritesh ,

ansible all -m ping --ask-pass
SSH password:
10.1.0.6 | UNREACHABLE! => {
“changed”: false,
“msg”: “Invalid/incorrect password: Permission denied, please try again.”,
“unreachable”: true

  1. my etc/ansible/hosts file has the following:
    [servers]
    ip_addrs ansible_user=root
  2. password authentication in etc/ssh/sshd_config has been set to yes
  3. the ssh keys has been shared between the two systems.
    the error still persists