[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#243832: Debian Bug #243832: possible solution



On 2004-05-22 17:48:17 +1000, Darren Tucker wrote:
> You probably want "ServerAliveInterval 300" in ssh_config or 
> $HOME/.ssh/config.  This will cause ssh to send an application-level 
> keepalive every 5 minutes if there's no other traffic, which will keep 
> the connection "fresh" in the firewall or NAT device's state table.

Thanks, I don't know if this works as the router I'm using ATM never
closes the connections, but this seems to be the right option (I don't
remember seeing it before). I've also set ServerAliveCountMax to a big
number, so that the connection isn't closed when there is a temporary
network problem.

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% validated (X)HTML - Acorn / RISC OS / ARM, free software, YP17,
Championnat International des Jeux Mathématiques et Logiques, etc.
Work: CR INRIA - computer arithmetic / SPACES project at LORIA




Reply to: