Mosh-server should be included in the base os

Problem/Justification
I have a few recurring occasions that cause my network connection to blip:

  • I undock my laptop and transition from ethernet to Wi-Fi
  • I sleep my laptop (either by accident for a short period or longer)
  • I’m diagnosing network connectivity issues

I run mosh rather than ssh for connectivity to work around these and it’s really stellar. tmux kinda works, but I am not a big fan of remembering ctrl-b [ and other obscure shortcuts.

It’s really annoying to build yourself so I have been using community-distributed static binaries which are riskier than I would generally prefer to be for a tool like this. Pulling it into the OS would be helpful in keeping this communication secure.

Impact
Disadvantage: adds 1MB-ish to the OS. The .deb is 194KB + 855 KB for libproto23 (its only missing dep). I do not know how popular a request this would be, but that’s probably the main disadvantage; if few people want it, I understand not including it.

Advantages: mosh-server doesn’t run a server, it’s just the server-side component. it’s only used after initiating an ssh connection, so only those using it are associated with it.

User Story
User should be able to mosh into the server when ssh is running

This is yet another regression from CORE. My CORE install has mosh installed by default.

Just my 2 cents: I’m a tmux user but also at the same time a mosh user: tmux is great to keep sessions open for longer-lasting tasks. However, I don’t always create a tmux session. With mosh, if I move with my laptop when having a quick look at something and hop from wired to wifi, I don’t lose the connection.