>
> Hello,Jorg,
>

 

> I got the same error. At the time, I did the below and then ssh connection 
> got success and data successfully sent thru the ssh to remote host.
>

In ansible Control machine execute these commands.


*root>ssh-add   //*it adds  the identity files to ssh-agent ...i.e add the 
~/.ssh/id_rsa.pub file ssh-agent
*root>eval "$(ssh-agent)"   // *after that will start the ssh-agent to 
start the ssh connection and execute this for refreshment of hosts...
*root>*"*ansible all -m ping -c ssh -u <<remote-host-username>>"*

then the error resolved.  

 Thank you.

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/db2a8d16-9e9b-48a2-8156-e9b9707b6de4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to