1. 在 PuTTY 的 Connection 项目中设定 “Sending of null packets to keep session active”的值,
也就是每隔几秒传送一个 null packet 让 session不会 timeout。
2. 启用 sshd host 的 /etc/ssh/sshd_config 设定值: TCPKeepAlive yes
也就是每隔几秒传送一个 null packet 让 session不会 timeout。
2. 启用 sshd host 的 /etc/ssh/sshd_config 设定值: TCPKeepAlive yes