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

The guide how to use FTP Server on CentOS Stream

  1. To work, you must open port 20, 21, 60000-65535 (TCP) in the network properties in the Amazon firewall.After purchasing and starting the VM you should know its IP address. You can find it in the personal account of Azure. (You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the line of “Public IP Address”).
  1. To work with the server, you should connect to it via PuTTY (Download PuTTY)
  1. Go to the home page of “Session”, enter the IP address of the VM
  1. 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.
  1. In the console that opens, you must enter the standard login that appears when creating a virtual machine – centos.
  1. To create a new user, enter sudo useradd -m username, where username is your chosen name.

To create a password, enter sudo passwd username, where username is the user created in the previous step.

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, username and password that were specified when creating the virtual machine

Click “Quickonnect”

  1. Welcome to the remote site

You have successfully connected to the server and can work with this service.

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

To create a new user enter: sudo useradd -m username, where  username is a name of the new user

The changing of the password for an existing user: sudo passwd username

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

Up ↑

%d bloggers like this: