MOSH (mobile shell) is meant for mobile connections over ssh. It is a user space tool that relies on ssh as its transport layer. It is helpful for intermittent or unreliable connections.
To learn more about it, you can check the website: https://mosh.org/
We have installed mosh on the cluster but to use it you will need to add it to your path. Since it needs to be called when you first log into the cluster, you will need to add it to you .bashrc or equivalent file for your shell. Add the following to that file to be able to use mosh:
module load mosh/1.4.0-gcc-11.3.1-72uzmod
While using the load balanced endpoint (i.e. login.hpc.caltech.edu) for ssh sessions is always recommended, Mosh will not work correctly through the load balancer, requiring users to target a specific login node instead. To do so, point your Mosh connections to either login3.hpc.caltech.edu or login4.hpc.caltech.edu.