linux - centos 阿里云自动断开连接
Posted 杨浪
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了linux - centos 阿里云自动断开连接相关的知识,希望对你有一定的参考价值。
1.进入ssh目录
cd /etc/ssh
2.修改配置文件sshd_config
ClientAliveInterval 30 ClientAliveCountMax 86400
3.重启ssh服务
service sshd restart
以上是关于linux - centos 阿里云自动断开连接的主要内容,如果未能解决你的问题,请参考以下文章