How To Install sidedoor on Kali Linux
Introduction
In this tutorial we learn how to install sidedoor on Kali Linux.
What is sidedoor
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.
There are three methods to install sidedoor on Kali Linux. We can use apt-get, apt and aptitude. In the following sections we will describe each method. You can choose one of them.
Install sidedoor Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install sidedoor using apt-get by running the following command:
sudo apt-get -y install sidedoorInstall sidedoor Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install sidedoor using apt by running the following command:
sudo apt -y install sidedoorInstall sidedoor Using aptitude
If you want to follow this method, you might need to install aptitude on Kali Linux first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude using the following command.
sudo aptitude updateAfter updating apt database, We can install sidedoor using aptitude by running the following command:
sudo aptitude -y install sidedoorHow To Uninstall sidedoor on Kali Linux
To uninstall only the sidedoor package we can use the following command:
sudo apt-get remove sidedoorUninstall sidedoor And Its Dependencies
To uninstall sidedoor and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove sidedoorRemove sidedoor Configurations and Data
To remove sidedoor configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge sidedoorRemove sidedoor configuration, data, and all of its dependencies
We can use the following command to remove sidedoor configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge sidedoorDependencies
sidedoor have the following dependencies:
References
Summary
In this tutorial we learn how to install sidedoor package on Kali Linux using different package management tools: apt, apt-get and aptitude.