The guide how to work with FTP Server Extended on Debian 10
- ttps://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, enter the command
sudo addsftpuser and press “Enter”
- Next, you need to come up with your own “Username” and “Password”. Also enter “Repeat password” and press “Enter”
Important: When entering a password for security reasons, 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.
- Now for further connection you need to install “FileZilla Client”
You can download it from the link: Download FileZilla Client for Windows (64bit x86)
- 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 paragraph 7)
In the “Port” field enter 22
And click “Quickconnect”
- The examples of the basic ftp user management commands that can be entered after connecting in the PuTTY client:
The changing of the password for an existing user:
> sudo passwd username
The deletion of 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