直接编辑服务器守护进程配置文件vi /etc/ssh/sshd_config
TCPKeepAlive yes #检测死连接、连接不当关闭
ClientAliveInterval 300 #客户端超时连接时间(秒)
ClientAliveCountMax 3 #客户端超时连接次
重启服务 /etc/rc.d/init.d/sshd restart
SecureCRT ssh连接自动断开问题
推荐:会话选项 –> 终端 –> 反空闲–>发送协议 NO-OP(p) 每 60 秒
直接编辑服务器守护进程配置文件vi /etc/ssh/sshd_config
TCPKeepAlive yes #检测死连接、连接不当关闭
ClientAliveInterval 300 #客户端超时连接时间(秒)
ClientAliveCountMax 3 #客户端超时连接次
重启服务 /etc/rc.d/init.d/sshd restart
SecureCRT ssh连接自动断开问题
推荐:会话选项 –> 终端 –> 反空闲–>发送协议 NO-OP(p) 每 60 秒