Rob Hudson wrote:

> I'm helping a friend set up a sort of backup solution.  He's got a
> co-located Linux web server, and a Linux file server in his office
> behind a firewall.  I set up an rsync script to synchronize (pull) all
> the web files down at night.  The problem is that it's dying about 25%
> of the way through.  From the log error output it appears that since
> rsync can sometimes take a bit of time, something happens to the
> network connection during the sync and drops the connection.  This is
> the closest explanation I could find:
> http://www.mail-archive.com/[EMAIL PROTECTED]/msg14422.html

Maybe the NAT box is dropping the connection due to inactivity.
Try enabling ssh keepalives.  On the client:

    $ echo ServerAliveInterval 300 >> ~/.ssh/config

or...

    $ man ssh_config    # (-:

-- 
Bob Miller                              K<bob>
                                        [EMAIL PROTECTED]
_______________________________________________
EUGLUG mailing list
[email protected]
http://www.euglug.org/mailman/listinfo/euglug

Reply via email to