I'm attempting to use rsync on a new RHEL server to copy files/directory from a remote Ubuntu server. I used rsync -avx email@example.com:/var/www/ /var/www/html
I'm then prompted for the password for firstname.lastname@example.org and provide it. Unfortunately, I receive permission denied (publickey,password). Note that the username I'm using on the RHEL server is different from the username on the Ubuntu server.
How do I rectify this issue?