I'm working remotely on a new CentOS 7 VM. I have screen running with several open sessions. I'm finding that if I leave one of the sessions idle for awhile, then try to come back to it, it's gone. Nothing special going on in the sessions - ssh connections to other systems, mysqlclient, top, etc. - those all stay up. But if I just leave a session sitting at the bash shell prompt, it disappears - I just watched one and it took about 10-11 minutes.
I've never had that happen before. Any idea what's going on?
New information. It's probably not screen. I opened a new ssh session to this system and left it idle. And it closed on me as well. But this time I got a message:
timed out waiting for input: auto-logout
Off to google... probably some goofy shell setting?
screen
session ended, or was it that a GUI window containing thescreen
session closed on you leaving the session still running but no longer connected and visible?bash
variableTMOUT
set to a positive integer? That's the number of seconds before an idle shell will close.