How To Install gesftpserver on Debian 10

In this tutorial we learn how to install gesftpserver on Debian 10. gesftpserver is sftp server submodule for OpenSSH

Introduction

In this tutorial we learn how to install gesftpserver on Debian 10.

What is gesftpserver

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. . NB! This server is currently experimental and still under development. Don’t trust your critical data to it. The code has an extensive and growing test suite (invoke ‘make check’ to run it) but bugs may yet remain.

There are three ways to install gesftpserver on Debian 10. 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 first since aptitude is usually not installed by default on Debian. 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 Debian 10

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 Debian 10, we can use the command below:

sudo apt-get -y autoremove gesftpserver

Remove gesftpserver Configurations and Data

To remove gesftpserver configuration and data from Debian 10 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

References

Summary

In this tutorial we learn how to install gesftpserver on Debian 10 using different package management tools like apt, apt-get and aptitude.