ive set up passwordless ssh by running ssh-keygen , then swapped keys using ssh-copy-id . i can login without being asked for a password if i just type in ssh email@example.com , but when running this rsync command i get prompted for a password on the remote machine. im transferring data from a remote machine to a local computer, and im running rsync from the local machine.
sudo rsync --delete --progress -azvv -e ssh firstname.lastname@example.org:/home/remote/Documents/ /home/local/Documents/
could it be that when i created the keys i didnt add these options? and thats whats causing the problems? ssh-keygen -t rsa