设置ssh连接超时

来源:互联网 发布:诸葛诞 知乎 编辑:程序博客网 时间:2024/04/29 07:37
打开root 目录下的.bash_profile文件,加上
export TMOUT=1000000 (以秒为单位) 
然后运行:

source .bash_profile

注:TMOUT=0表示不超时


0 0
原创粉丝点击