How To Install mysecureshell on Kali Linux
Introduction
In this tutorial we learn how to install mysecureshell on Kali Linux.
What is mysecureshell
mysecureshell is:
MySecureShell is a solution which has been made to bring more features to sftp/scp protocol given by OpenSSH. By default, OpenSSH brings a lot of liberty to connected users which imply to trust in your users.
The goal of MySecureShell is to offer the power and security of OpenSSH, with enhanced features (like ACL) to restrict connected users.
MySecureShell was created because of the lack of file transfer features in OpenSSH. OpenSSH was not designed as a file transfer solution, that’s why MySecureShell is born.
MySecureShell is not a patch for OpenSSH, it’s a shell for users. It has the advantage to:
- Avoid including security holes in OpenSSH
- No dependency on against an OpenSSH version
- No OpenSSH recompilation is required
There are three methods to install mysecureshell 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 mysecureshell Using apt-get
Update apt database with apt-get using the following command.
sudo apt-get updateAfter updating apt database, We can install mysecureshell using apt-get by running the following command:
sudo apt-get -y install mysecureshellInstall mysecureshell Using apt
Update apt database with apt using the following command.
sudo apt updateAfter updating apt database, We can install mysecureshell using apt by running the following command:
sudo apt -y install mysecureshellInstall mysecureshell 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 mysecureshell using aptitude by running the following command:
sudo aptitude -y install mysecureshellHow To Uninstall mysecureshell on Kali Linux
To uninstall only the mysecureshell package we can use the following command:
sudo apt-get remove mysecureshellUninstall mysecureshell And Its Dependencies
To uninstall mysecureshell and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove mysecureshellRemove mysecureshell Configurations and Data
To remove mysecureshell configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge mysecureshellRemove mysecureshell configuration, data, and all of its dependencies
We can use the following command to remove mysecureshell configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge mysecureshellDependencies
mysecureshell have the following dependencies:
References
Summary
In this tutorial we learn how to install mysecureshell package on Kali Linux using different package management tools: apt, apt-get and aptitude.