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

Re: ssh session times out annoyingly fast, why?



On Tue, Sep 29, 2020 at 04:34:06PM +0200, tomas@tuxteam.de wrote:
Setting the socket option to keep alive "fixed" that.

You were lucky. ssh does that by default, so if ssh sessions are getting killed these days it's because the firewall ignores tcp keepalives when calculating timeouts. If you're in such an environment and can't fix the firewall, then every application needs to be written to explicitly
exchange data when idle to keep connections alive.


Reply to: