使用xshell连接服务器时
过一会儿总会显示timed out waiting for input: auto-logout
修改配置文件
vi /etc/profile
TMOUT=60 #or the number of seconds you want
将TMOUT的值改成0
保存退出后
source /etc/profile
xshell连接显示timed out waiting for input: auto-logout
最新推荐文章于 2025-06-10 06:00:00 发布
本文介绍如何通过修改服务器上的配置文件/etc/profile中的TMOUT值来解决使用Xshell连接服务器时出现的自动登出问题。只需将TMOUT设置为0即可避免因等待输入超时而导致的自动登出。
1万+

被折叠的 条评论
为什么被折叠?



