MOSH, or MObileSHell, is a terminal application that works great for devices with intermittent connections, poor wireless links, or insufficient wireless antenna.
In my experience, the GameShell falls into this category, as it frequently drops WIFI, and oftentimes requires me to stand in the same room as the access point- which makes SSH-ing into the GS quite tedious!
This is where MOSH shines!
We all know how to SSH into the GS, if not, here’s a great tutorial on how to-do just that:
Now to get MOSH working, follow these steps:
- SSH into your GS
- Install MOSH with:
sudo apt update && sudo apt install mosh
- That’s it!
Now on your other computers, also install MOSH, several methods can be found here, on the MOSH site.
To connect to the GS, via MOSH, simply replace your
ssh command with
mosh. So, on a mac, normally I would type
ssh firstname.lastname@example.org now I simply replace this with
Say goodby to frequent disconnects, stalled terminals, and wondering if you really did save-quit the file before WIFI dropped or not!