The ssh "timed out waiting for input:auto-logout" messages are generated by SSH upon reaching a auto-logout after an inact Ivity time specified by the TMOUT environment variable. If This variable was not set your session would not be auto-logged off due to inactivity. IF the environment variable is set, your session would be a automatically closed/logged out after the amount of seconds speci Fied by the tmout variable.
To see if your auto-logout variable are set and/or see what it was set to issue the following command:
$ echo $TMOUT
Often This value is defined in/etc/profile (globally) or your user's profile (~/.profile or ~/.bash_profile).
To alter the auto-logout amount, set the TMOUT environment variable accordingly:
* tmout=600 #set an auto-logout timeout for ten minutes
* tmout=1200 #set an auto-logout timeout for minutes
* tmout= #turn off Auto-logout (user session won't auto-logout due to session inactivity)
This value can is set globally (e.g. tmout=1200) in The/etc/profile file; However, each user can override the value by setting the Tmout variable in their personal profile file (~/.profile or ~/.b Ash_profile). The to does this simply set the Tmout variable as a like in your profile file.
Dont forget to source the file is changed to get the settings to take effect immediately or log out and log back in.
E.g:source/etc/profile
Timed out waiting for input:auto-logout