解决putty自动断开的问题 发表于 2016-05-16 更新于 2026-03-03 分类于 技术分享 报错: 1Network errorSoftware caused connection abort 在PuTTY的Connection项目中设定”Sending of null packets to keep session active” 也就是每隔几秒传送一个 null packet 让 session不会 timeout . 启用 sshd host 的 /etc/ssh/sshd_config 设定值: TCPKeepAlive yes .