Let’s do ssh login without being prompted to enter the password.
From client, generate key with the following command.
enter, without setting a passphrase.
From client, copy the generated key to the server.
$ ssh-copy-id firstname.lastname@example.org
Login to the server without entering your password.
You can copy public key to remote server manually.
In the local machine, by appending the key of local machine (content of file: _~/.ssh/id_rsa.pub) to the file in the remote machine (**~/.ssh/authorizedkeys**).
If the _authorizedkeys file does not exist in the remote machine, just generate a new one.