Password-less SSH access

This is mainly a note to myself because I keep forgetting these two very simple steps, it is only two commands and then you are good to go.
Well as the headline says we are going to create an SSH connection without having to enter a password everytime.

The information below is the example we are going to use in thus How To.

The first thing we are going to do is to generate a set of SSH keys with the following command.
You are going to be prompted to choose where they key should be stored but just hit enter to choose the default location.
Next you will be prompted to enter a password for the new SSH key but just leave it blank and press enter again.

The next thing is to copy our newly created SSH key to the host, which is the machine we want to create a password-less SSH connection to. (don’t forget to change the username and host domain or IP here.)
This is the only time you will be prompted to enter the password for the host.

And that’s it. try to login to the host machine to test if it works or not