[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] ssh timeout error interrupts backup
From: |
Martin Pool |
Subject: |
Re: [rdiff-backup-users] ssh timeout error interrupts backup |
Date: |
Fri, 2 Jul 2004 14:05:17 +1000 |
User-agent: |
Mutt/1.5.6+20040523i |
On 1 Jul 2004, Adam Rosi-Kessel <address@hidden> wrote:
> I have a DLink DI-604 router, which times out ssh connections unavoidably
> after a certain amount of inactivity. I suspect, but don't know for
> certain, that this is why my rdiff-backup jobs usually don't
> complete--I'm trying to mirror a 20G drive (over a standard cable modem
> connection with slow uplink, and a slow CPU on the mirror) so I believe
> that there are sometimes long periods of inactivity and thus the ssh
> connection is dropped.
You probably want to set the ServerAliveInterval option in
~/.ssh/config (aka ProtocolKeepAlives, aka something else for SSHv1).
This makes it send a little bit of traffic every while to keep the
connection alive from the router's point of view. Seems to work for
me.
--
Martin