I would like to transfer files between two remote hosts using on local shell, but it seems rsync doesn't support synchronisation if two remotes are specified as follow:
$ rsync -vuar host1:/var/www host2:/var/www
The source and destination cannot both be remote.
What other workarounds/commands I could use to achieve similar results?