![我如何确定哪个请求通过我的 ssh 隧道定期超时?](https://linux22.com/image/727202/%E6%88%91%E5%A6%82%E4%BD%95%E7%A1%AE%E5%AE%9A%E5%93%AA%E4%B8%AA%E8%AF%B7%E6%B1%82%E9%80%9A%E8%BF%87%E6%88%91%E7%9A%84%20ssh%20%E9%9A%A7%E9%81%93%E5%AE%9A%E6%9C%9F%E8%B6%85%E6%97%B6%EF%BC%9F.png)
我正在使用 OSX 的 ssh 隧道结合 SwitchyOmega chrome 插件通过 ubuntu 框进行浏览,如下所示:
ssh -D 54321 1.2.3.4
这个超时仅在我启动了 chrome 之后才会发生。但即使在终止 chrome 之后,它仍然会每 30 秒定期超时一次。
channel 12: open failed: connect failed: Connection timed out
channel 8: open failed: connect failed: Connection timed out
channel 9: open failed: connect failed: Connection timed out
channel 15: open failed: connect failed: Connection timed out
channel 10: open failed: connect failed: Connection timed out
channel 5: open failed: connect failed: Connection timed out
channel 7: open failed: connect failed: Connection timed out
channel 4: open failed: connect failed: Connection timed out
channel 11: open failed: connect failed: Connection timed out
我正在尝试确定导致超时的原因以及请求被发送到哪里。关于如何显示 ssh 隧道的更详细错误信息有什么建议吗?
这是我正在使用的插件: https://github.com/FelisCatus/SwitchyOmega
答案1
使用 ssh 的 -v 选项可以让我找到有问题的 chrome 扩展。