SSH No Password Configuration

To login in linux without a password

1. Generate public key.execute the following command on management host.

ssh-keygen -t rsa

2. Copy key from management host(ansible installed host) to nodes, which you want to manage.

execute the following command on management host.

ssh-copy-id -i /root/.ssh/id_rsa.pub root@192.168.0.42