Is there a way to continue broken scp (secure copy) command process in Linux? [closed] Is there a way to continue broken scp (secure copy) command process in Linux? [closed] linux linux

Is there a way to continue broken scp (secure copy) command process in Linux? [closed]


If you need to resume an scp transfer from local to remote, try with rsync:

rsync --partial --progress --rsh=ssh local_file user@host:remote_file

Short version, as pointed out by @aurelijus-rozenas:

rsync -P -e ssh local_file user@host:remote_file

In general the order of args for rsync is

rsync [options] SRC DEST


This is all you need.

 rsync -e ssh file host:/directory/.