If you have just installed Mosh server and tried to connect to it, you might have run into the following error:
This happens when your SSH session sends a locale that Mosh does not support. The fix is fairly easy, just configure your SSH not to send the LANG variable. To do that, open your
/etc/ssh/ssh_config and comment out the following line:
That’s it, now you can use your Mosh without any hiccups.