来于互联网,分享给互联网
1. 在 PuTTY 的 Connection 项目中设定 "Sending of null packets to keep session active", 也就是每隔几秒传送一个 null packet 让 session不会 timeout 2. 启用 sshd host 的 /etc/ssh/sshd_config 设定值: TCPKeepAlive yes
Copyright @ 2024 jsbba Powered by .NET 9.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster