Recently I needed to do password less login for services to be automated. I could make scripts run in cron jobs, which could run in the middle of the night.
Any good operating systems, like a Linux, Mac OSX, freeBSD etc will have ssh built in.
To generate the ssh key file is a simple process. Then you just need to copy the generated file to the destination machine.
Generate the SSH keyfile
When you generate the key, it will ask you to type a password for the ssh key. Most people like I do not type a password/paraphrase due to you need to add this later into a script.
I change the encryption bit from the default 2048 to 4096. You can add more encryption but remember the more you add, sometimes it takes longer to log in as the host machine needs to process the keyfiles.
Once this is done you need to copy the file to the remote/destination machine.
Copy the newly created keygen file to the remote/destination machine.
Once your public ssh key has been copied across, you now can use passwordless logins across your machines. Enjoy…