Table of contents
Note: If you are looking for a way to access your server, edit or upload files, you probably are looking for this.
Vsftpd is a FTP server running on VMs and cloud images to allow the installation of plugins, add-ons, etc. from the application interface.
How to configure Vsftpd to enable remote connections
Note: Keep in mind that enabling remote connections you'll be more exposed to attacks to your server.
To enable remote connections you'll have to edit the Vsftd config file, located in /etc/vsftpd.conf
At the end of the file you'll find the following snippet:
listen=YES listen_address=127.0.0.1 write_enable=YES local_enable=YES anonymous_enable=NO local_umask=022
Replace 127.0.0.1 with 0.0.0.0 to enable remote connection.
listen=YES listen_address=0.0.0.0 write_enable=YES local_enable=YES anonymous_enable=NO local_umask=022
sudo ufw allow 21
sudo service vsftpd restart
What is the user/password for FTP?
The password for FTP is a random string. In most cases you can find it in the app configuration file. In the case of WordPress that file is in /opt/bitnami/apps/wordpress/htdocs/wp-config.php.
If you can't find the password you'll be able to change it using the following command:
sudo passwd bitnamiftp