I SSH from one Linux host to another Linux host that I don't administer. Its /etc/ssh/sshd_config
is apparently configured to auto-logout after an interval of inactivity that is too brief for my taste (How do I enable auto-logout of Interactive ssh logins after one hour).
Is there any way to keep my SSH session alive, perhaps by sending or receiving a newline character every two minutes?
Workarounds like while true { echo ' '; sleep 120 }
were common in the days of dialup modems).
FWIW, Windows' PuTTY isn't involved at all.