On Tuesday 29 September 2020 08:18:54 Michael Stone wrote: > On Wed, Sep 23, 2020 at 03:48:56PM -0400, Greg Wooledge wrote: > >The normal reason people need to use ServerAlive or ClientAlive is > > NAT. If your connection from ssh client to ssh server goes through a > > NAT router, the router may keep track of activity on that > > connection, and drop the translation when it goes idle for 5 minutes > > or so. Forcing the *Alive packets to happen every few minutes > > prevents a NAT timeout. > > This is a stateful firewall thing, not a NAT thing
This is likely quite true Michael, but it also is only a hint as to how to fix it for the OP. I maintain 8 to 12 such ssh connections here to my othermachines, establishing them at boot time, but all are local 192.168.xx.xx addresses so not NAT'd going either direction, so I am not affected. I would be upset if I was. Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis Genes Web page <http://geneslinuxbox.net:6309/gene>