How To Install gesftpserver on Kali Linux
Introduction
In this tutorial we learn how to install gesftpserver
on Kali Linux.
What is gesftpserver
gesftpserver is:
Green End SFTP Server is an SFTP server supporting up to protocol version 6. It is possible to use it as a drop-in replacement for the OpenSSH server (which supports only protocol version 3).
- Protocol versions 3 and higher:
- Upload and download files
- List files
- Create directories and symbolic links
- Rename and delete files
- Protocol versions 4 and higher:
- Filename encoding translation
- Text mode transfers
- String owner/group names (instead of numeric)
- Sub-second timestamps (where supported by server OS)
- Protocol versions 5 and higher:
- Extended rename semantics (e.g. atomic overwrite)
- Protocol versions 6 and higher:
- Create hard links
- Several SFTP extensions
Features of SFTP protocol versions are listed more detailed at http://www.greenend.org.uk/rjk/sftp/sftpversions.html.
Features beyond the v3 set depend on suitable client support. A list of clients and the versions they support is at http://www.greenend.org.uk/rjk/sftp/sftpimpls.html.
There are three methods to install gesftpserver
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 gesftpserver Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install gesftpserver
using apt-get
by running the following command:
sudo apt-get -y install gesftpserver
Install gesftpserver Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install gesftpserver
using apt
by running the following command:
sudo apt -y install gesftpserver
Install gesftpserver 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 update
After updating apt database, We can install gesftpserver
using aptitude
by running the following command:
sudo aptitude -y install gesftpserver
How To Uninstall gesftpserver on Kali Linux
To uninstall only the gesftpserver
package we can use the following command:
sudo apt-get remove gesftpserver
Uninstall gesftpserver And Its Dependencies
To uninstall gesftpserver
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove gesftpserver
Remove gesftpserver Configurations and Data
To remove gesftpserver
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge gesftpserver
Remove gesftpserver configuration, data, and all of its dependencies
We can use the following command to remove gesftpserver
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge gesftpserver
Dependencies
gesftpserver have the following dependencies:
References
Summary
In this tutorial we learn how to install gesftpserver
package on Kali Linux using different package management tools: apt
, apt-get
and aptitude
.