3 releases
0.3.5 | May 16, 2025 |
---|---|
0.3.4 | May 16, 2025 |
0.3.3 | Jul 28, 2024 |
#427 in Configuration
44KB
894 lines

Connect quickly to your services with Mosh 🚀
Installation
MAKE SURE mosh IS INSTALLED ON YOUR CLIENT AND YOUR SERVER
For Ubuntu, run apt install mosh. If you have installed Cargo then run cargo install fast-mosh --force (force ensures an update if you already installed fast-mosh) Version 0.3.4 addresses an issue in mosh which does not allow scrolling for long outputs. This issue is explained here https://github.com/mobile-shell/mosh/issues/122. In summary:
"@RipperSK The root cause of not able to scroll is caused by mosh entering a "alternative screen" mode. It can be disabled using the --no-init flag (see the doc). Just alias mosh='mosh --no-init' and the problem will go away. This comment has been minimized."
So I have updated the mosh command in main.rs to include arg for --no-init.
Follow a similar instruction for your Linux distro. For the Mac, use Home Brew and run
brew install mosh For detailed installation instructions, please refer to the Fast-SSH README.
Note: The primary change in Fast-Mosh is that it uses mosh
instead of ssh
. You can use the same installation method with fast-mosh
.
Usage
The usage remains the same to Fast-SSH, but instead of executing ssh
, you will execute mosh
to connect to your services.
Mosh ensures session restarts from your ssh connection. No more broken pipes or connections. You can hibernate your computer and your session reconnects once your resume (AS LONG AS THE TERMINAL WAS NOT CLOSED OR SERVER REBOOTED) Just make sure you have mosh installed locally and on the remote server.
For more detailed usage instructions, refer to the Fast-SSH README.
Acknowledgements
Fast-Mosh is a fork of Fast-SSH by Julien-R44. All credits for the original work go to Julien-R44 and the contributors of Fast-SSH. This project adapts Fast-SSH to use Mosh instead of SSH.
Dependencies
~12–25MB
~366K SLoC