That's correct. In order to sync you would need to execute two rsync commandas:
Originally Posted by andypi
To get the lastest changes from the server:
And this to push your changes to the server:
$ rsync -av -e ssh server:/path/to/dir/ /local/path/
If you want exact copies also add the option --delete to erase files in the destination that are not in the source.
$ rsync -av -e ssh /local/path/ server:/path/to/dir/
BTW, you would need to install OpenSSH in at least one machine (here's is called server).
Hope it helps,