How To Install runoverssh on Debian 12

Learn how to install runoverssh on Debian 12 with this tutorial. runoverssh is POSIX-compliant shell script for running shell commands and scripts over SSH

Introduction

In this tutorial we learn how to install runoverssh on Debian 12.

What is runoverssh

runoverssh is:

This program runs a Bash command/script over ssh in one or more hosts Feature

  • ask one global password for all connections
  • read commands from a script file instead
  • use the list of hosts from a file
  • use ssh directly instead of sshpass
  • save ssh output
  • disable ssh screen output
  • set custom ssh flags
  • set custom bash flags
  • save ssh output to a custom file

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

Install runoverssh Using apt-get

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

sudo apt-get update

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

sudo apt-get -y install runoverssh

Install runoverssh Using apt

Update apt database with apt using the following command.

sudo apt update

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

sudo apt -y install runoverssh

Install runoverssh 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 runoverssh using aptitude by running the following command:

sudo aptitude -y install runoverssh

How To Uninstall runoverssh on Debian 12

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

sudo apt-get remove runoverssh

Uninstall runoverssh And Its Dependencies

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

sudo apt-get -y autoremove runoverssh

Remove runoverssh Configurations and Data

To remove runoverssh configuration and data from Debian 12 we can use the following command:

sudo apt-get -y purge runoverssh

Remove runoverssh configuration, data, and all of its dependencies

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

sudo apt-get -y autoremove --purge runoverssh

Dependencies

runoverssh have the following dependencies:

References

Summary

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