Re: file transfer size limit

From: Frank Wang (yafrank_at_126.com)
Date: 09/07/05

  • Next message: Jayson Anderson: "Re: SSH Hangs"
    Date: Wed, 07 Sep 2005 08:33:39 +0800
    To: secureshell@securityfocus.com
    
    

    Ben Kim wrote:
    > I've been moving large files (several gb) via scp, and would like some
    > advices.
    >
    > 1. I'm transferring files via dd on ssh :
    >
    > /usr/local/bin/tar cvfz - mydirectory | /usr/local/bin/ssh
    > user@remote_host dd of=/backup/backup.tgz
    >
    > This used to work but when about 30 gb worth of files were added, the
    > transfer stopped after finishing about 8 gb.
    >
    > I haven't logged what's happening, but could there be a timeout issue?
    > (The network is 100mbps but I get at best 2 mb when there's no office
    > traffic.) For example, would the above transfer stop after 2 hours (grace
    > time)?

    This is likely nat or firewall timeout issue. The solution recommended
    by official faq is to add "ServerAliveInterval <time>" in your ssh_config.


  • Next message: Jayson Anderson: "Re: SSH Hangs"