First, you should be sure it is not a network issue. You could open a terminal and run, for example, top program. This avoid any timeout configured. If this does not work, you should follow for a network issue, otherwise we can see sshd's config file.
Toni Mas Missatge de Britton Kerin <britton.ke...@gmail.com> del dia dt., 22 de set. 2020 a les 1:38: > > I'm using ssh from a debian box to a rasberry pi (sorta debian also :). > > For some reason ssh sessions seem to time out pretty quickly. I've > tried setting ClientAliveInterval and ClientAliveCountMax and also > ServerAliveInterval and ServerAliveCountMax, but it doesn't seem to > make any difference. Is there some other setting somewhere that > affects this? > > Thanks, > Britton >