I need to use rsync for a daily backup operation and in the past (on different servers) I managed to just use a rsa key etc, but now none of google (serverfault) tutorials work at all.
It keeps asking me for a password.
I have webmin and ssh/root access to both servers.
key.pubto server 2
chmod 700 .ssh/authorized_keys
rsync -avz -e ssh file.txt root@server2:/root
EDIT: well, I cleaned up everything and this time, instead of inserting a custom name to the key I used the standard one on server1. sent the .pub to server2 and it worked as a charm... So the answer is that server1's ssh wasn't even using the right key...