升级到 20.04 LTS 后 SSH 不稳定

升级到 20.04 LTS 后 SSH 不稳定

我将功能从 18.04 LTS 服务器升级到了 20.04 LTS。

现在我的 SSH 不稳定,我已经卸载了该软件包并使用维护者配置重新安装了它所请求的所有文件。

我可以毫无问题地连接,但大约 30 秒后,我失去了与 Putty 和 guacamole SSH 的连接。

查看日志时,我没有看到任何错误,只是我的用户密码被接受并且会话打开。

它不是因不活动垃圾邮件而超时ls它仍然失去连接,我已经添加了 TCPKeepAlive、KeepAlive 和 ClientAliveInterval

我已经能够从 cmd 进行 SSH 并进行调试,并得到以下结果

debug2: channel 0: request window-change confirm 0
debug3: send packet: type 98
debug2: client_check_window_change: changed
debug2: channel 0: request window-change confirm 0
debug3: send packet: type 98
debug3: recv - from CB ERROR:10060, io:000002531D8A55D0
debug3: send packet: type 1
debug3: send - WSASend() ERROR:10054, io:000002531D8A55D0
Connection reset by xxx.xxx.xxx.xxx port 22

相关内容