Anthony Vance

Assistant Professor—Information Systems—Brigham Young University
  • Home
  • Resume
  • Research
  • Teaching
  • Personal
  • Blog
  • Feed

Resuming SCP file transfers

12 Dec, 2008  linux

After a large file transfer using the UNIX command SCP failed at around 90% for the third time, I finally had the sense to google how to resume an SCP file transfer.

It turns out that you can’t. But you can tunnel RSYNC over SSH which works like a charm. This tip is posted in numerous places online, but my SSH setup at home is slightly different, so I have to modify the SSH option as follows:

rsync --human-readable --partial --progress --rsh="ssh -l username -p 2012"
domain.name:/path/to/file .

This just points out again how great a program SSH is. Its uses are truly multitudinous. It’s like the swiss army knife of UNIX commands.

Leave a Comment

Name: (Required)

E-mail: (Required)

Website:

Comment:

    Available Feeds

    Entries RSS
    Comments RSS

© 2005-2010 Anthony Vance | Theme modified by Anthony Vance, based on design by Wolfgang Bartelme, ported to Wordpress by LEMONed.