Rsync over ssh between remote servers


In order to use rsync with a ssh key I used the -e flag on the rsync command. It will allow rsync over ssh local to a remote server.

[ps]

[\$ \~] rsync -avz -e "ssh -i .ssh/id_key.pem" /opt/stuff/here/ [email protected]:/opt/stuff/here/

[/ps]