If you’ve tried setting up password-less signing for RSYNC or SSH and still get the prompt to enter a password then this article will hopefully fix the issue. I’ve previously written an article about how to set up RSYNC to backup your files and databases from one server to another here: SETTING UP RSYNC FOR FILE SYNCHRONISATION
If everything was configured correctly, then when you use ssh [username]@[server IP address] you will not receive the prompt to enter the password just like this:

But if you receive a prompt similar to this it means something went wrong:

If you enter the password and then try to reconnect, it will once again ask for the password. To solve this you need to do the following:
- SSH to the local server and go to .ssh/
- View the contents of the id_rsa.pub file by using an editor such as vi It will look something like this

- Copy the contents of this file and then SSH to the remote server.
- Edit the file authorized_keys and paste the contents from id_rsa.pub into the file. Save the file contents.
Now try to connect to the remote server from the local server and it should work. Hopefully, this should work and if it doesn’t please reach out.