When I connect using mosh I get the following error:

Mosh: You have 2 detached Mosh sessions on this server, with PIDs:
    - mosh [3700]
    - mosh [31091]

How can I resume one of these sessions?


You can't. Once the client is dead, you can't re-attach to the server session.


For security reasons, you can only resume a connection to a mosh-server from the corresponding mosh-client. If the client is dead (e.g. the user quit the client while it was off the network), the only option is to kill the server with that PID (e.g. kill 12726).

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.