Putty CentOS SSH 总是自动断开连接

/**********************************************************************
 *              Putty CentOS SSH 总是自动断开连接
 * 说明:
 *     VPS中采用CentOS系统,SSH在使用过程中总是自动断开连接,太麻烦了,
 * 记得在Ubuntu中是没有这个问题的。
 *
 *                                2018-7-9 深圳 宝安西乡 曾剑锋
 *********************************************************************/

一、参考文档:
    1. Putty自动断开
        https://blog.csdn.net/Lh19931122/article/details/77949719

二、解决方法:
    1. Configuration --> Category --> Connection --> Sending of null packets to keep session active --> seconds between keepalives(0 to trun off) 
    2. 设置为10秒

猜你喜欢

转载自www.cnblogs.com/zengjfgit/p/9283368.html