方法一
配置服务器,修改/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
相关文章
我的微信
微信扫一扫
|
评论