Mosh (MObile SHell) is a remote terminal application, like ssh, that is resilient to intermittent connectivity. Mosh sessions persist even when the internet connection is lost, or the client machine is put to sleep.
Read more about mosh and download it from the mosh website.
Use mosh to connect to CS
- connect to the CS VPN
- run the mosh command:
mosh --experimental-remote-ip=remote firstname.lastname@example.org
Notes on using mosh
- mosh uses ssh to start a session, but the mosh session itself does not use ssh
- mosh does not provide port-forwarding (e.g. X11 forwarding), like ssh
- mosh terminal sessions cannot scroll back through history
- mosh requires a UTF locale (usually the default), and it will break if you set LANG=C