sidedoor command not found

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

Introduction

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

sidedoor: command not found

or when using sudo you get the following error message

sudo: sidedoor: command not found

Solutions to sidedoor: command not found

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

In Ubuntu sidedoor is provided by sidedoor package.

sidedoor is:

sidedoor maintains an SSH connection or tunnel with a shell script daemon.

The primary use case is maintaining a remote port forward to the local SSH server (or another port). Thus, the local device can be accessed without using incoming connections that may be blocked by a NAT or firewall or otherwise impractical with mobile devices.

SSH clients can connect to the device via the reverse SSH proxy that sidedoor tunnels to. This proxy server can be untrusted and run by a third party or cloud service.

sidedoor enables SSH keepalives and retries SSH with exponential backoff. In order to reconnect as soon as possible, it resets the backoff when a network interface is brought up (or changed).

Refer to the sidedoor man page to configure and set SSH keys.

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

sudo apt-get -y install sidedoor

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

You can also use apt command to install sidedoor.

sudo apt -y install sidedoor

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

sudo aptitude install sidedoor

Summary

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