MQ-Jr
MQ-Jr
unixcop Admin

How To Install SFTPGo on Ubuntu 20.04 | 22.04 LTS

In this article, we will show you how to install SFTPGo on Ubuntu systems.

SFTPGo is a fully featured and highly configurable SFTP server with optional HTTP/S, FTP/S and WebDAV support. Several storage backends are supported: local filesystem, encrypted local filesystem, S3 (compatible) Object Storage, Google Cloud Storage, Azure Blob Storage, SFTP.

Install SFTPGo on Ubuntu-APT method

Follow the steps below to get started with SFTPGo :

  • Update your Ubuntu system packages with running the below command:
sudo apt update -y && sudo apt upgrade -y
  • SFTPGo package is not available on Ubuntu base repository. So You can install it via importing PPA repo as follows:
sudo add-apt-repository ppa:sftpgo/sftpgo
  • Run the command below to reflect on PPA
sudo apt update -y
  • Then install SFTPGo as shown below:
sudo apt install sftpgo -y
  • Once installed, start and enable the SFTPGo service and check the status of it as shown below:
sudo systemctl restart sftpgo
sudo systemctl status sftpgo
sudo systemctl enable sftpgo
  • Allow the required ports in ufw firewall as shown below:
sudo ufw allow OpenSSH
sudo ufw allow 2022/tcp
sudo ufw allow 8080/tcp
sudo ufw enable
sudo ufw status

Access SFTPGo on Ubuntu

  • You can access SFTPGo now with opening your favorite browser then go to http://Your-IP-address:8080
  • After you create an admin user, you will be directed to SFTPGo as shown below:

How to Remove (Uninstall) SFTPGo

  • Remove SFTPGo APT Method
sudo apt autoremove sftpgo --purge -y

Install SFTPGo -Conclusion

That’s it

Thanks.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook