Today I was tyring to transfer a huge file over a ssh connection (scp). Everything was working fine, but at 94% the connection stalled and the transfer has been interrupted. $#!”&%, I thought, but luckily yyab helped me a lot!
If you need to resume an scp transfer, try with rsync:
rsync –partial –progress –rsh=ssh user@host:remote_file(source) local_file(destination)