It can be configured using following steps:
- Generate public-private key pair. SSH provides ssh-keygen utility which can be used to generate key pairs on local machine. ...
- Add public key to ~/.ssh/authorized_keys file on remote host. Simple way to do this is, using ssh-copy-id command. ...
- That's it. Isn't it so simple?