Methods of payment Abuse

How to set up FTP on Ubuntu 20.04 LTS

16.12.2022, 13:09

FTP (File Transfer Protocol) is a file transfer protocol that appeared long before HTTP and TCP/IP. FTP has been around since 1971 and is considered the oldest application layer protocol. Today it is used to connect to remote servers(ftp vds) or computers. To set up the work, you need FTP clients.

Step-by-step instructions on how to deploy FTP on Ubuntu 20.04 LTS

The step-by-step instructions imply that you will need to:

1. Install a File Transfer Protocol server that supports secure connection protocols (SSL in particular).

2. Create a user account and configure it to work.

3. Verify that there is a connection to the File Transfer Protocol server.

4. Install the File Transfer Protocol server.

To install and configure File Transfer Protocol on Ubuntu 20.04 LTS, you need to use the command:

$ sudo apt update && apt install vsftpd

The server is already running, but you need to set the settings in the config file. To do this, open it and make changes by checking NO or YES against the settings. After that it is necessary to update the config file and restart the server.

To ensure the security of data transfer, it is necessary to connect SSL certificates. Then configures the FTP user account to connect. At first you can authorize on the server under the local, but then it is better to create a separate account with a command:

$ sudo useradd ftpuser -d /home/userftp -s /bin/false -m

In this example we have created a user with the nickname userftp, which will be in the home directory /home/userftp (access by locale is denied). Create a password.