rtmux command not found

In this troubleshooting guide we learn how to fix rtmux command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

rtmux: command not found

or when using sudo you get the following error message

sudo: rtmux: command not found

Solutions to rtmux: command not found

How To Fix rtmux: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu rtmux is provided by autossh package.

autossh is:

autossh is a program to start an instance of ssh and monitor it, restarting it as necessary should it die or stop passing traffic. The idea is from rstunnel (Reliable SSH Tunnel), but implemented in C. Connection monitoring is done using a loop of port forwardings. It backs off on the rate of connection attempts when experiencing rapid failures such as connection refused.

To fix this problem, we can install more using the command below.

sudo apt-get -y install autossh

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install autossh.

sudo apt -y install autossh

Or if you have aptitude installed you can use the following command.

sudo aptitude install autossh

Summary

In this tutorial we learn how to fix rtmux command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.