[mosh-users] Mosh on long job, disconnected?
Alex Chernyakhovsky
achernya at mit.edu
Thu Aug 24 08:33:47 EDT 2017
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-mosh at 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 <vincent at 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 at mit.edu
> http://mailman.mit.edu/mailman/listinfo/mosh-users
More information about the mosh-users
mailing list