Spread the love
Mosh: the mobile shell | Heshsum

About

Mosh is a remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes.

Mosh is a replacement for interactive SSH terminals. It’s more robust and responsive, especially over Wi-Fi, cellular, and long-distance links.

It’s is free software, available for GNU/Linux, BSD, macOS, Solaris, Android, Chrome, and iOS.

Key Features:

How to install Mosh Mobile Shell On Linux ?

The installation is super easy and simple just open any terminal you like and type:

# How to install Mosh Mobile Shell On Ubuntu Linux ?
$ sudo apt install mosh

# How to install Mosh Mobile Shell On Alpine Linux ?
$ apk add mosh

# How to install Mosh Mobile Shell On Arch Linux ?
$ pacman -S mosh

# How to install Mosh Mobile Shell On Debian Linux ?
$ sudo apt-get install mosh

# How to install Mosh Mobile Shell On Fedora Linux ?
$ sudo dnf install mosh

# How to install Mosh Mobile Shell On Gentoo Linux ?
$ emerge net-misc/mosh

# How to install Mosh Mobile Shell On GuixSD Linux ?
$ guix package -i mosh

# How to install Mosh Mobile Shell On openSUSE Linux ?
$ sudo zypper in mosh

# How to install Mosh Mobile Shell On FreeBSD ?
$ pkg install net/mosh

# How to install Mosh Mobile Shell On OpenBSD ?
$ pkg_add mosh

# How to install Mosh Mobile Shell On NetBSD ?
$ cd net/mosh; make install clean

# How to install Mosh Mobile Shell On OpenCSW ?
$ pkgutil -i mosh

# How to install Mosh Mobile Shell From Source ?
$ wget https://mosh.org/mosh-1.3.2.tar.gz
$ cd mosh-1.3.2
$ ./configure
$ make
$ make install

# How to install Mosh Mobile Shell From Git ?
$ git clone https://github.com/mobile-shell/mosh
$ cd mosh
$ ./autogen.sh
$ ./configure
$ make
$ make install
Code language: PHP (php)

How To Use Mosh Mobile Shell On Linux ?

The usage is easy and there are many options but for a simple SSH connection you can use :

# How To Use Mosh Mobile Shell On Linux ?
$ mosh --ssh="ssh -p 22" 212.222.32.21
Code language: PHP (php)

You can find more usage examples in the official Mosh repository on GitHub: Here

Quick Install Video On Ubuntu 21.04 Linux:

Conclusion

In this article we reviewed and show you how to install on different distributions Mosh Mobile Shell.

We hope you enjoyed this article. if that is so please rate this page with the stars bellow and subscribe to our YouTube channel or follow us on twiter.

Leave a Reply