I have containers trying to make one as ansible server and other one as client.i did copied public key to the other container.
while doing password is asked to connect to the other container.but I did password authentication to false in etc/ssh/sshd_config file and restarted the ssh service now permission is denied is coming.
I need to ssh to other container without password as I copied public key to the other container.
Purpose of doing this is to make ansible server and client so that to run a playbook to client it should not ask for password.
Can someone help me out
Thanks in advance.