Timed out waiting for input:auto-logout

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.