
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]
Example:
# rsync -avPz /home/bob/workstuff bob@192.168.1.125:~/
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 192.168.1.125 in bob’s home directory there.
Cool!