ssh-keygen
[enter]
[enter]
[enter]
cd ~/.ssh
ssh-copy-id -i id_rsa.pub USERNAME@SERVERTARGET
Run following command
ssh-add
If it gives following error: Could not open a connection to your authentication agent
To remove this error, Run following command:
eval 'ssh-agent'