Hi All, I'm new to Ansible and trying to run the ansible commands against a remote VM Ubuntu instance. I set up ssh so that I was able to ssh to this VM Ubuntu instance without password. However, when I run ansible commands, if I do not provide user name and password, I got "Authentication failed" error message. If I use '-u and --ass-pass', then I got "failed to open a SFTP connection" error message. The following is the output details from command window of the ansible client: [root@localhost test]# ansible -i tvmc_host all -m ping 172.17.252.208 | FAILED => FAILED: Authentication failed. [root@localhost test]# ansible -i tvmc_host all -m ping -u cli --ask-pass SSH password: 172.17.252.208 | FAILED => failed to open a SFTP connection (EOF during negotiation) Any idea what was missing in this case? Thanks very much in advance for the help. -YuLing
-- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
