I installed mosh on a desktop and server yesterday (compiled latest v1.2.3 from source) and it works fine. I left the session open yesterday and have come into the office today to find my mosh session is dead, with the error along the top of the terminal window:
mosh: Last contact 14723 seconds ago. [To quit: Ctrl-^ .]
I thought mosh should auto reconnect, or do I have to manually tell it to reconnect? If so, how? Or, is it a setting I need to enabled somewhere, to auto reconnect?
I left an SSH session open to the same server, this is still working just fine.
Best Answer
Mosh will reconnect by default, no additional configuration should be done for that.
As for your case, I suspect one of the following: