3 ms·
If my client session dies (laptop kernel panics or runs out of battery) then mosh will notify me on the next login that "there are sessions running with these P
by teejmya 10y ago
If my client session dies (laptop kernel panics or runs out of battery) then mosh will notify me on the next login that "there are sessions running with these PIDs"
I've tried to reattach sessions to no avail, mosh was designed this way. I have to just kill the sessions.
Looks like I'm not alone in this either: https://github.com/mobile-shell/mosh/issues/394 https://github.com/mobile-shell/mosh/issues/394
- gue5t 10y agoThere's no way to know if a machine you can't contact is on the other side of a network partition or if it has died/disconnected/given up. You could have the client try to persist its state across local reboots, at least to the extent necessary to kill the session (in case the latest crypto state needed to resume couldn't be saved before the system died), in which case you would have to kill fewer sessions.