Note: If you are looking for a way to access your server, edit or upload files, you probably are looking for this.

    This guide is to configure a FTP server for those services that don't support SFTP, like for example  https://managewp.com/ or http://ftploy.com/ .

    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

     

    NoteKeep 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
     
    You'll also have to open the FTP port:
    For VMs run the following command:
    sudo ufw allow 21
     
    For Cloud Images you'll have go to your provider control panel. For instance, for Amazon you'll have to edit your Security Group.
     
    And finally restart the service:
    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

     

     

     

     

    Tag page (Edit tags)
    • No tags
    Page statistics
    6315 view(s), 6 edit(s) and 2643 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments