RSync over SSHPublished on 21 Sep 2003
Tags #rsync #SSH
rsync is also able to connect to a daemon to synchronize with remote locations, it isn’t always possible to install or customize a remote
rsync server, which makes tunnelling through SSH the only alternative. This also ensures privacy and data integrity.
RSYNC_RSH="ssh -l ssh-user" rsync -avz rsync-host:source destination
NOTE: This note assumes that you own a SSH login on the remote machine.
NOTE: You may experience interoperability problem depending on the versions of rsync present on client and server.