Rsync Over SSH

By | 2010/12/15

Here is a quick and easy way for transferring files via rsync over ssh.

rsync [options] ssh [local source directory] [user@server]:[destination on server]


# rsync -avPz /home/bob/workstuff bob@

a (recursive, hidden files incl, etc. – the standard rsync option)
v verbose
P show Progress

z compress data during transfer

This will make a copy of the directory ‘workstuff’ onto the machine in bob’s home directory there.