Copying a large file via SSH


SCP is great for copying files between hosts, but what if you want to up/download a large file through a limited bandwidth connection without waiting for completion?

Rsync comes to the rescue with it's "partial" transfer feature. You can simply start copying the file (also with SCP), press CTRL+C to "pause" and restart the command:

rsync --partial --progress

Of course, the same also works to resume a SSH copy if your transfer or computer crashed.