3 ms·
I've been using mosh a lot because I travel a lot so my internet is pretty questionable most of the time. My main issue with it is that it can't clean up after
by Zarel 9y ago
I've been using mosh a lot because I travel a lot so my internet is pretty questionable most of the time.
My main issue with it is that it can't clean up after itself.
When I log in, I always get multiple messages like "Mosh: You have a detached Mosh session on this server (mosh [25933])." These are because I closed mosh (e.g. restarted my computer) while not connected to the internet. Especially since mosh is made for unreliable internet connections, you'd think it'd be better about this.
mosh says it can't automatically deal with these sessions (e.g. by reconnecting) because it's not the same mosh process that opened them, but it's the same computer. It shouldn't be too hard to write the information necessary to reconnect to disk.
- tibbetts 9y agoJust have your mosh server attached to a screen client package (by connecting with "mosh hostname -- screen -rd") and then when you detach that screen client it will terminate the now-useless mosh server. I think that's how most mosh developers do it.