Two Way rsync via SSH
From D3xt3r01.tk
WHY
Because I need to keep in sync some servers with the same content...
HOW
2)
rsync -e 'ssh -ax -p PORT -l USER -i /path/to/rsync-key' -avzurP /path/to/source/ REMOTE_HOST:/path/to/destination/
rsync -e 'ssh -ax -p PORT -l USER -i /path/to/rsync-key' -avzurP REMOTE_HOST:/path/to/destination/ /path/to/source/