方法一
配置服务器,修改/etc/ssh/sshd_config配置文件,找到ClientAliveCountMax(单位为分钟)修改你想要的值,执行service sshd reload;
方法二
配置服务器,修改/etc/profile配置文件
# vi /etc/profile
正文完
评论(没有评论)
|
配置服务器,修改/etc/ssh/sshd_config配置文件,找到ClientAliveCountMax(单位为分钟)修改你想要的值,执行service sshd reload;
配置服务器,修改/etc/profile配置文件
# vi /etc/profile
正文完
评论(没有评论)
|