I created an instance of Debian on Amazon Lightsail. Everything works fine except FTP. I added port 21 to the firewall: port 21 added

Next, I followed these instructions to the letter on how to install proftpd: https://www.tecmint.com/install-proftpd-in-ubuntu-and-debian/

As a last step, I added a password to the proftpd user and restarted the service. Then added an FTP connection in Filezilla with the following data: filezilla data

And I get the following error:

incorrect data

Does anyone use ftp with Lightsail?

  • Why FTP? Do yourself a favour an go with SFTP. If you notice, the log says Login incorrect, so I would start from there. Check the logs on the server. Please note that FTP needs data ports as well. – simlev Sep 15 '18 at 20:29


Does anyone use ftp with Lightsail?

Answer: Probably not.

Explanation: FTP is a very old protocol that has some drawbacks (uses random ports, no encryption...). Lightsail was launched in 2016, when most companies had already switched from FTP to FTPS or SFTP. There still are use cases for FTP but I doubt many would use it to communicate with their servers hosted on a service such as Lightsail.

If the goal is to update WordPress plugins, I recommend using wp-cli instead of going through the hassle of setting up a FTP server.

  • I use SFTP to transfer files by FileZilla. I have sites on WordPress, and I can update plugins via FTP or FTPS. I used FTP on OVH. I'll try to configure FTPS instead. Thanks. – sirDexter Sep 15 '18 at 21:28
  • @sirDexter Why not SFTP? – simlev Sep 15 '18 at 22:32
  • In WordPress I have only two connection types for updating plugins: 1. FTP 2. FTPS (SSL) – sirDexter Sep 15 '18 at 23:28
  • wp-cli is how you (should) update WordPress plugins. – simlev Sep 16 '18 at 0:11
  • Thank you for the great alternative that I wasn't aware of. – sirDexter Sep 17 '18 at 10:50

If you're looking for connecting lightsail to filezilla, hereis how

  1. Download SSH Key enter image description here
  2. Open filezilla,

    2.1 Go to Edit > Settings > Connection > SFTP , Then click on Add key file... enter image description here

    2.2 Then, Press ctrl+s to open sitemanager, under General tab

     Protocol : SFTP - SSH File Transfer Protocol 
     Host : your_lightsail_static_ip
     Logon Type : Interactive
     User : light_sail_provided_user_name

enter image description here That's it done.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.