Password less SSH with just 2 commands

ssh-keygen creates the public and private keys. ssh-copy-id copies the local-host’s public key to the remote-host’s authorized_keys file. ssh-copy-id also assigns proper permission to the remote-host’s home, ~/.ssh, and ~/.ssh/authorized_keys.

# ssh-keygen

# ssh-copy-id -i ~/.ssh/id_rsa.pub <remote-host-address>

wla ....... you ready to ssh without password