Use following command on system where you need password less ssh
ssh-copy-id -i <IP>
IP = IP address of host to be you want password less shh
Example:
ssh-copy-id -i 192.168.1.1
ssh-copy-id -i <IP>
IP = IP address of host to be you want password less shh
Example:
ssh-copy-id -i 192.168.1.1