使用xshell连接服务器时,过一会儿总会显示timed out waiting for input: auto-logout,这是怎么回事?
这是因为设置了“会话空闲超时时退出”的缘故。具体设置如下:
vi /etc/profile
TMOUT=60 #or the number of seconds you want
将TMOUT
的值改成0
就好了
保存退出后运行下面的命令就好了
./etc/profile
使用xshell连接服务器时,过一会儿总会显示timed out waiting for input: auto-logout,这是怎么回事?
这是因为设置了“会话空闲超时时退出”的缘故。具体设置如下:
vi /etc/profile
TMOUT=60 #or the number of seconds you want
将TMOUT
的值改成0
就好了
保存退出后运行下面的命令就好了
./etc/profile