Guide – How To Start – FTP Server on CentOS Stream Minimal on Amazon

The guide how to use FTP Server on CentOS Stream Minimal

 To start the server, run the VM through Amazon.

  1. To work, you must open port 20, 21, 60000-65535 (TCP) in the network properties in the Amazon firewall.
  2. Install PuTTY. You can download PuTTY from the link – https://putty.org.ru/download.html Launch PuTTY.
  3. To connect to the VM, 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)

           Guide – How To – Create and use Key Pair to connect to a VM

  1. Go to the SSH section in the left panel and then to Auth.
  1. In the “Auth” section, click “Browse” and specify the path to the .ppk file you received earlier.
  2. Go to the home page of “Session”, enter the IP address of the VM and click “Open”.


  3. In the window that appears, click Accept.


  4. In the console that opens, you must enter the standard login that appears when creating a virtual machine – centos.

Or use the username you provided after creating the virtual machine.

  1. To create a new user, use the command

            sudo useradd -m username

            Where username is the name that the user comes up with

  1. To create a password, use the command

sudo passwd username

Where username is the ftp user created in the previous step

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.

  1. Install “FileZilla Client” for further connection

You can download it from the link: Download FileZilla Client for Windows (64bit x86)

  1. Run “FileZilla Client”, enter the VM address, port 22 TCP, username and password that were specified when creating the virtual machine and click “Quickonnect”
  1. Welcome to the remote site

The examples of the basic ftp user management commands that can be entered after connecting in the PuTTY client: 

The deletion of user:

sudo userdel username

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

Website Built with WordPress.com.

Up ↑

%d bloggers like this: