No, that is not the goal of the MOSH_KEY environment variable. That sets up the key, yes, but that's used for the initial connection, bootstrapped usually through ssh. After that, both the client and server are incrementing the AES-OCB counter, which means that it's not really possibly to reconnect to an existing mosh-server if you lose the mosh-client.
Sincerely, -Alex On Thu, Aug 24, 2017 at 8:23 AM, Vincent Lefevre <vincent-m...@vinc17.net> wrote: > On 2017-08-20 22:37:59 +0200, C.v.St. wrote: >> BUT, if you loose the 'mosh client process', which is the only >> instance to connect to your running session, this 'session' is >> definitely lost and dead, even if the programs in it stay >> alive for a while. > > Can't you start a new client to connect to the same server? > This is the goal of the MOSH_KEY environment variable isn't it? > > Warning: Do not use the MOSH_KEY environment variable on a multi-user > machine whose OS does not provide a protection to prevent users from > reading the environment of other users' processes. See e.g. > > https://github.com/mobile-shell/mosh/issues/156 > > -- > Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/> > 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> > Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon) > _______________________________________________ > mosh-users mailing list > mosh-users@mit.edu > http://mailman.mit.edu/mailman/listinfo/mosh-users _______________________________________________ mosh-users mailing list mosh-users@mit.edu http://mailman.mit.edu/mailman/listinfo/mosh-users