I have centos user & cetos user is connecting via ssh to the node but via 
ansible  it is throwing error

On Saturday, 11 February 2023 at 15:59:23 UTC+5:30 Antony Stone wrote:

> On Saturday 11 February 2023 at 10:22:11, trupti kokare wrote:
>
> > Permission denied (publickey)
>
> > plz help me out
>
> Make sure that the ansible user on your master can SSH to the node, before 
> you 
> expect ansible to be able to do it on its own.
>
> Basically, you need to copy the public key from the master to the node.
>
>
> https://docs.ansible.com/ansible/latest/inventory_guide/connection_details.html
>
> See "Setting up SSH keys".
>
>
> Antony.
>
> -- 
> +++ Divide By Cucumber Error. Please Reinstall Universe And Reboot +++
>
> Please reply to the list;
> please *don't* CC me.
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/c92679ba-fbf8-4eea-af11-ae7927739e49n%40googlegroups.com.

Reply via email to