How To Install mussh on Debian 11

In this tutorial we learn how to install mussh on Debian 11. mussh is MUltihost SSH Wrapper

Introduction

In this tutorial we learn how to install mussh on Debian 11.

What is mussh

mussh is:

Mussh is a shell script that allows you to execute a command or script over ssh on multiple hosts with one command. When possible mussh will use ssh-agent and RSA/DSA keys to minimize the need to enter your password more than once.

Unlike clusterssh or mssh, mussh is just a shell script wrapper for ssh with concurrency support. It is intended to make running identical commands or scripts on almost any number of hosts possible with minimal overhead. There is no GUI and the only language used is bash.

There are three methods to install mussh on Debian 11. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.

Install mussh Using apt-get

Update apt database with apt-get using the following command.

sudo apt-get update

After updating apt database, We can install mussh using apt-get by running the following command:

sudo apt-get -y install mussh

Install mussh Using apt

Update apt database with apt using the following command.

sudo apt update

After updating apt database, We can install mussh using apt by running the following command:

sudo apt -y install mussh

Install mussh Using aptitude

If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Debian. Update apt database with aptitude using the following command.

sudo aptitude update

After updating apt database, We can install mussh using aptitude by running the following command:

sudo aptitude -y install mussh

How To Uninstall mussh on Debian 11

To uninstall only the mussh package we can use the following command:

sudo apt-get remove mussh

Uninstall mussh And Its Dependencies

To uninstall mussh and its dependencies that are no longer needed by Debian 11, we can use the command below:

sudo apt-get -y autoremove mussh

Remove mussh Configurations and Data

To remove mussh configuration and data from Debian 11 we can use the following command:

sudo apt-get -y purge mussh

Remove mussh configuration, data, and all of its dependencies

We can use the following command to remove mussh configurations, data and all of its dependencies, we can use the following command:

sudo apt-get -y autoremove --purge mussh

Dependencies

mussh have the following dependencies:

References

Summary

In this tutorial we learn how to install mussh package on Debian 11 using different package management tools: apt, apt-get and aptitude.