I can't exchange files between my pcs, when I give the command sudo rsync -av -delete --rsh=ssh localhost/directory remotehost/directory remotehost root password is required but when I type it the output is this: root@remotehost's password: Permission denied, please try again.
I don't know what's wrong, I type the exact password that I use when I type su (on the remotehost)
Please Help me
Edit: If I use a specific user (user@remotehost) I can transfer files, but I still haven't figured out why using root@remotehost doesn't work