设置ssh连接Linux超时时间

设置ssh连接Linux超时时间

2、$TMOUT系统环境变量: #vi /etc/profile

在最后一行增加

export TMOUT=6000    (单位秒)

保存并退出

Esc

:wq

让配置生效

#source /etc/profile

posted @ 2026-01-07 15:10  小小仓鼠  阅读(3)  评论(0)    收藏  举报