Resume a large scp transfer

December 18, 2006

Today I was tyring to transfer a huge file over a ssh connection. Everything was working fine, but at 94% the connection stalled and the transfer has been interrupted. $#!”&%, I thought, but luckily joen.dk helped me a lot!

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

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

9 Responses to “Resume a large scp transfer”

  1. svrmarty Says:

    please use
    –partial –progress

  2. svrmarty Says:

    —partial —progress

  3. svrmarty Says:


    --partial --progress

  4. svrmarty Says:

    “–partial –progress”

  5. andrewmcdonough Says:

    Excellent advice. For some reason, scp stalls on me occasionally. Using rsync instead solved the problem.

    —-
    http://www.andrewmcdonough.com


  6. [...] via Resume a large scp transfer « Yes, yet another blog…. [...]


  7. Thank you! Didn’t want to throw away 1.3GB of my 5.2GB file transfer just because it stalled and timed out. Worked great! :)


  8. [...] Fonte: http://yyab.wordpress.com/2006/12/18/resume-a-large-scp-transfer/ [...]


Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.