![]() ![]() Once the installation is completed you can configure VSFTP. Now you can install VSFTP using the following command. With VSFTP you can run your own FTP server and create users and assign them to any directory and prevent access to other directories using chroot also. By default AWS or Google Cloud won’t allow password based authentication to the Virtual Machine instances. VSFTP is a Very Secure File Transfer Protocol for Linux based systems. sudo passwd username Install VSFTP server sudo useradd -m -c " Name, Role" -s /bin/bash username Now you can create a new user using the following command to test the FTP. Sudo ufw allow 40000:50000/tcp Create a new user If you are using UFW in your server make sure to open the port to allow connections to your server otherwise you cannot connect. In Targets select All instances in the network Go to VPC Network > Firewall rules and click Create Firewall rules. We also open ports 40000 – 50000 for passive mode connections. You can configire FTP on any port you wish, now you will configure it in the default port 21, so you need to create a firewall rule to provide access to these ports. I assume you have your server setup and configured.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |