mosh command not found
In this troubleshooting guide we learn how to fix mosh command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
mosh: command not found
or when using sudo you get the following error message
sudo: mosh: command not found
Solutions to mosh: command not found
How To Fix mosh: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu mosh is provided by mosh package.
mosh is:
Mosh is a remote terminal application that supports:
- intermittent network connectivity,
- roaming to different IP address without dropping the connection, and
- intelligent local echo and line editing to reduce the effects of “network lag” on high-latency connections.
To fix this problem, we can install more using the command below.
sudo apt-get -y install mosh
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install mosh.
sudo apt -y install mosh
Or if you have aptitude installed you can use the following command.
sudo aptitude install mosh
Summary
In this tutorial we learn how to fix mosh command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.