通过 VPN 通道连接后 Mosh 和 ssh 停止工作

通过 VPN 通道连接后 Mosh 和 ssh 停止工作

自从上个月我开始通过 VPN 访问远程大学服务器以来,一直没有遇到任何问题,但今天出现了一些问题,我无法自行解决。

我通常会这样做:

我使用 Forticlient VPN 连接到 uni 网络。然后我 mosh/ssh 到计算服务器:mosh username@host,它一直工作到今天。我现在收到的错误消息是

ssh_exchange_identification:远程主机关闭连接

/usr/bin/mosh:未找到远程 IP 地址(SSH ProxyCommand 是否被禁用?)。

在 /etc/ssh/ssh_config 中,我取消了包含 ProxyCommand 的行的注释:

ProxyCommand ssh -q -W %h:%p gateway.example.com

其中-W %h:%p指的是用户名@主机名,但它没有帮助,同样的错误。我尝试 ping 服务器,它返回目标主机无法访问错误消息。

有什么建议吗?我做错了什么?

相关内容