To generate a public key which is to be placed in the /home//.ssh/authorized_keys of the server you are trying to connect to. This will allow you to SSH without a password.
On the client machine, run: ssh-keygen -t rsa
Put this key into the authorized_keys in the remote computer :)
If this helped you, please link back to the article! Thanks!