Resume scp after a lost connection

thecakeisaliein:

If you lose your network while doing

scp file_name remote-host:/path/

you can run the following command to resume your scp.

rsync —partial —progress —rsh=ssh file_name remote-host:/path/

By default rsh is not secure. Hence we tunnel using ‘—rsh=ssh’ option.

Leave a comment