Hello Stephen, There's no timeout, the problem being that it's hard to tell whether the user's laptop has indeed crashed or if they are just on a plane flight for an hour or 10 hours, or they put their laptop to sleep for a two-week vacation.
However, the latest mosh-server (in the Git repository) will warn you on login if you have detached mosh-servers and give you their PIDs so you can kill them. This feature will be part of the next release, but you can compile it now if you like. (You can also check for detached mosh servers yourself in the "who" output.) Best regards, Keith On Thu, Aug 2, 2012 at 8:38 PM, Stephen Balukoff <[email protected]> wrote: > Hey y'all! > > Does anyone know whether in the event of a mosh-client session exiting in a > non-friendly way (eg. laptop freeze), whether the orphaned mosh-server > process on the server will eventually exit? > > I suppose I could write a cron job which looks for orphaned mosh-server > sessions and kills them periodically, but it'd be great if this > functionality were already built into the mosh-server process in some way > shape or form. > > Thanks, > Stephen > > -- > Stephen Balukoff > Blue Box Group, LLC > (800)613-4305 x807 > > _______________________________________________ > mosh-users mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/mosh-users > _______________________________________________ mosh-users mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/mosh-users
