Pure-FTPd is a secure, production-quality, and standard-conformant FTP server. While there are no useless bells and whistles. it focuses on efficiency and ease of use. It provides simple answers to common needs, plus unique useful features for personal users as well as hosting providers.
This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.
The guide how to work with the Pure-FTPd – FTP Server on Amazon Linux 2
After purchasing and starting the VM you should know its IP address. You can find it in the personal account of Amazon.
To connect to the Server, you should generate a “Private Key” in advance. This can be done using the following instruction (by choosing the “file format:” option “.ppk” in point 3)
- Go to section SSH on the left panel, and then in Auth
- In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
- Go to the home page of “Session”, enter the IP address of the VM and click “Open”.
- In the opened console you will need to enter the login centos.
- To work, you must open the following ports:
21(TCP), 22(TCP), 30000-50000(TCP)
- Use a self-signed certificate along the path:
- Create a directory by sudo mkdir /etc/ftproot command
- Create a user by sudo pure-pw useradd usertest -u 1500 -g 1500 -d /etc/ftproot/ command where usertest is the name
- Enter a password and confirm it
- Apply the changes by sudo pure-pw mkdb command
- To view the users list, use sudo pure-pw list command
- To delete a user, use sudo pure-pw userdel username command
- To create a user with a separate catalogue, you can sequentially use the following commands:
1)sudo pure-pw useradd username -u 1500 -g 1500 -d /etc/ftproot/username
3)chown 1500:1500 /etc/ftproot/username
4)sudo pure-pw mkdb
Client FTP Software
Users can use any FTP Client to allow clients to connect. One of the best solutions is to choose FileZilla’s FTP Client.
In the host field you should insert ftpes://YourVM’sIP
And your username and password
After starting the connection, a window with a certificate will appear, there you must check the box <Always trust certificate> and click <OK>.
After that, you will be connected to the FTP server.