rush command not found

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

Introduction

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

rush: command not found

or when using sudo you get the following error message

sudo: rush: command not found

Solutions to rush: command not found

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

In Ubuntu rush is provided by rush package.

rush is:

GNU Rush is a restricted shell designed for sites providing only limited access to resources for remote users. The main binary executable is configurable as a user login shell, intended for users that only are allowed remote login to the system at hand.

A notification service can be implemented individually for each provided client service, using the TCPMUX support found within xinetd, or inetutils-inetd.

The standard use is to create access to a chrooted target directory, typically providing arbitrary combinations of scp, sftp, rsync, cvs, svn, and git. Each service may be further restricted in its capabilities. The administrator configures pattern matching rules for manipulating any incoming request.

The present restricted shell is an alternative to the well known “rssh” package, which provides similar capabilities.

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

sudo apt-get -y install rush

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

You can also use apt command to install rush.

sudo apt -y install rush

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

sudo aptitude install rush

Summary

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