Re: unable to run ping command from Ansible server to Application server

15 views
Skip to first unread message
Message has been deleted

Lokanath Veluru

unread,
Feb 9, 2018, 2:19:53 PM2/9/18
to Ansible Project
Hi Suresh,

     Are you able to login SSH manually (ssh 10.XXX.XXX.XX)?

--> Request you to regenerate the keys and make copy on both servers. It should work....
#################

On Friday, February 9, 2018 at 9:17:32 PM UTC+5:30, sureshma...@gmail.com wrote:
hello


I have configured password less login from my ansible server to application server but my application  server is having prompt like below

This user account allows you to configure the appliance
What would you like to do?
 1) Configure system settings
 2) Display Gateway configuration menu
 3) Use a privileged shell (root)
 R) Reboot the SSG appliance (apply the new configuration)
 X) Exit (no reboot)

when I run ansible all -m ping from my ansible server to Application server , I am getting below failure

# ansible gateway -m ping
apsrt1234.com | UNREACHABLE! => {
    "changed": false,
    "msg": "Failed to connect to the host via ssh:  Gateway v8.4.01\nPermission denied (publickey,gssapi-keyex,gssapi-with-mic,password).\r\n",
    "unreachable": true
}

could you let me know how to avoid the application server prompt or any other solution ?
Show trimmed content
Reply all
Reply to author
Forward
0 new messages