scp with resume
scp is very handy tool to securely copy files from remote computer. One disadvantage with it is, it doesn't support resume. With little trick and little help from the command rsync we can securely copy files from remote computer with resume facility.
And the command is
And the command is
rsync --partial --progress --rsh=ssh username@host:remote_file local_file
One problem i had was that i'd tunnelled the ssh port.
ReplyDeleteTo use a non-default, do "--rsh='ssh -p '".
Seems to work for me, but is this the best way?