FTP Server on Debian 10 Minimal is a safe, reliable FTP server designed to support FTP file transfer, plus vsftpd vsftpd, which is a GPL licensed FTP server for UNIX systems, including Linux. It is secure and extremely fast and stable
This is a quick deployment and ready-to-run image.
Simple and rapid installation. Easy to maintain.
Connection to FTP Server on Debian 10 Minimal
- Install PuTTY. You can download PuTTY from the link – https://putty.org.ru/download.html Launch PuTTY.
- In the “Host Name” field, enter the IP of the virtual machine and click “Open”.
- In the window that appears, click Accept.
- Enter the username and password that was used to create the virtual machine.
(If you enter a password, it will not be displayed.)
- To create a new user use the command
sudo useradd -m user name
Where user name is the name that the user comes up with
Pre-confirm a valid account by entering a password
- To create a password, use the command
sudo passwd user name
Where user name is the nickname to which the password that the user comes up with will be applied
You also need to confirm the current password.
Important: When entering a password for security purposes, it will not be displayed, also password has to be a maximum of 8 characters. If you enter a password with more than 8 characters, it will be shortened. While entering a password in the FTP client, only the first 8 characters will be taken.
Then you need to enter
pasv_enable=YES
pasv_address=xxx.xxx.xxx.xxx
pasv_min_port=YYYYY
pasv_max_port=YYYYY
Where xxx.xxx.xxx.xxx The public IP address of this VM.
And YYYYY – Unprivileged ports (Must be allowed in VM security group).
Connection with Filezilla client
- Now, for further connection, you need to install “FileZilla Client”
You can download it from the link: https://filezilla-project.org/download.php?platform=win64
- In the “Host” field, enter the IP of your VM
In the “Username” and “Password” fields, enter the data that you entered when creating a new user (see step 7)
In the “Port” field, enter 22
And click “Quickonnect”
- The examples of the basic FTP user management commands that can be entered after connecting to the PuTTY client:
The changing of the password for an existing user:
> sudo passwd username
The deletion of the user:
> sudo delsftpuser
The blocking of user account: (works only for password login)
> sudo usermod -L username
The unblocking of user account:(works only for password login)
> sudo usermod -U username