Putty CentOS SSH 总是自动断开连接

时间:2023-03-08 15:28:15
Putty CentOS SSH 总是自动断开连接
/**********************************************************************
* Putty CentOS SSH 总是自动断开连接
* 说明:
* VPS中采用CentOS系统,SSH在使用过程中总是自动断开连接,太麻烦了,
* 记得在Ubuntu中是没有这个问题的。
*
* 2018-7-9 深圳 宝安西乡 曾剑锋
*********************************************************************/ 一、参考文档:
. Putty自动断开
https://blog.csdn.net/Lh19931122/article/details/77949719 二、解决方法:
. Configuration --> Category --> Connection --> Sending of null packets to keep session active --> seconds between keepalives( to trun off)
. 设置为10秒