The ssh "timed out waiting for input: auto-logout" messages is generated by ssh upon reaching a auto-logout after an inactivity time specified by the TMOUT environment variable. If this variable is not set your session will not be auto-logged out due to inactivity. If the environment variable is set, your session will be automatically closed/logged out after the amount of seconds specified by the TMOUT variable.
To see if your auto-logout variable is set and/or see what it is 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 10 minutes
* TMOUT=1200 #set an auto-logout timeout for 20 minutes
* TMOUT= #turn off auto-logout (user session will not auto-logout due to session inactivity)
This value can be 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 ~/.bash_profile). To do this simply set the TMOUT variable as you like in your profile file.
Dont forget to source the file you 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
转载本文章为转载内容,我们尊重原作者对文章享有的著作权。如有内容错误或侵权问题,欢迎原作者联系我们进行内容更正或删除文章。
上一篇:sybase从表A创建表B
下一篇:关闭归档提示:ORA-38774: cannot disable media recovery - flashback database is enabled
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
深入解析decltype和decltype(auto)
decltype关键字是C++11新标准引入的关键字,它和关键字auto的功能类似,也可以自动推导出给定表达式的类型,但它和auto的语法有些不同,这篇文章讲解了decltype的使用场景以及和auto不同的地方,同时也讲解了和auto结合使用的用法。
C++ C++14 C++ decltype C++ auto decltype(auto) -
timed out waiting for device to boot,unable to boot the iOS Simulator
平常工作中的关于XCode出现bug解决之后一定要做个记录,要不下次真的再遇到只记得遇到过,怎么解决的是真忘了。COM+R运行xcode之后,模拟器半天没反应,待会会出现这个下面图1这样的弹框,另外timed out waiting for device to boot这句话的一个弹框,不过问题解决了这个图2的弹框没有及时截图,只记得这句话。出现这种问题大部分都是在升级XC
timed out waiting fo unable to boot the xcode bug解决 iOS -
DHCP request error:Timed out waiting for dhcpcd to start【转】android javascript 服务进程
-
Error: timed out while waiting for target halted
SW4STM32 STLINK 无法烧录问题。
3c html sed ide 报错信息