Products
GG网络技术分享 2025-03-18 16:10 0
针对腾讯云服务器经常无故自动断开的问题,
1、修改sshd_config配置文件
vim /etc/ssh/sshd_config
将
#ClientAliveInterval 0#ClientAliveCountMax 3
改为
ClientAliveInterval 30ClientAliveCountMax 86400
2、重启sshd服务
service sshd restart
Demand feedback