Resume scp transfer
mouse 153 · person cloud · link
Last update
2018-01-19
2018
01-19
« — »

Short options:

1
2
3
rsync -v -s -P -e ssh \
  username@remote_host:/path/to/remote_file.ext \
  local_file.ext

or use the extended options:

1
2
3
4
5
6
rsync --verbose \
  --protect-args \
  --partial --progress \
  --rsh=ssh \
  username@remote_host:/path/to/remote_file.ext \
  local_file.ext

Source: Stack overflow 1 and 2.