当我使用 mosh 连接时,出现以下错误:
Mosh: You have 2 detached Mosh sessions on this server, with PIDs:
- mosh [3700]
- mosh [31091]
Run Code Online (Sandbox Code Playgroud)
我怎样才能恢复这些会议之一?
Eig*_*ony 23
你不能。一旦客户端死机,您就无法重新连接到服务器会话。
https://github.com/keithw/mosh/issues/394
出于安全原因,您只能从相应的 mosh-client 恢复到 mosh-server 的连接。如果客户端已死(例如,用户在断开网络时退出客户端),唯一的选择是使用该 PID 终止服务器(例如,终止 12726)。