3 ms·
Just 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
by tibbetts 9y ago
Just 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.