Configuration and connection to the Advanced VSFTP on RHEL 8
To work, you should open ports 21, 22, 50000-51000 (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 Amazon.
To connect to the Server, you should generate a “Private Key” in advance. This can be done using the following instructions (by choosing the “file format:” option “.ppk” in point 3) Guide – How To – Create and use Key Pair to connect to a VM
- Connecting to the VM using the PuTTY application. You can download it at the following link – Download
- Go to section SSH on the left panel, and then to 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 ec2-user
- You can check the status of the VSFTP Server service using the command:
sudo service vsftpd status
- To connect to the VSFTP Server, you need to get login details using the command:
sudo cat /root/vsftp_credentials
- To create a new user and password to enter FileZilla – run the following command: sudo ftpuseradd
Next, enter 1 (1) and press ‘Enter’
Enter your username (2) and press ‘Enter’
Enter your password (3) and press ‘Enter’
Confirm your password (4) and press ‘Enter’
- To connect to the VSFTP Server, it is recommended to use the “FileZilla Client” application (you can download it from the link: Download FileZilla Client for Windows (64bit x86)).
- When connecting to the FTP server, you need to follow these steps:
- In the <Host> field, enter the VM IP address.
- In the <Username> field, enter the login received in steps 3 or 4
- In the <Password> field, enter the password received in steps 3 or 4
- In the <Port> field, enter port 21
- When the data is entered, press Quickconnect
- After entering all the data and clicking on Quickconnect, you will successfully connect to the server.
Now you can work with your own VSFTP server.