设置ssh连接Linux超时时间
设置ssh连接Linux超时时间
2、$TMOUT系统环境变量: #vi /etc/profile
在最后一行增加
export TMOUT=6000 (单位秒)
保存并退出
Esc
:wq
让配置生效
#source /etc/profile
设置ssh连接Linux超时时间
2、$TMOUT系统环境变量: #vi /etc/profile
在最后一行增加
export TMOUT=6000 (单位秒)
保存并退出
Esc
:wq
让配置生效
#source /etc/profile