-3

I'm trying to set up a WordPress site from an Amazon EC2 instance, and unfortunately I can't seem to get the FTP plugin downloads and so on running because Amazon requires that I use a keypair.

What are recommendation for how to configure FTP on Ubuntu to open a public container for uploads?

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131

2 Answers2

1
  1. Menu Edit (Preferences)SettingsConnectionSFTP, Click "Add key file”
  2. Browse to the location of your .pem file and select it.
  3. A message box will appear asking your permission to convert the file into ppk format. Click Yes, then give the file a name and store it somewhere.
  4. If the new file is shown in the list of Keyfiles, then continue to the next step. If not, then click "Add keyfile..." and select the converted file.
  5. Menu FileSite Manager. Add a new site with the following parameters:

    Host: Your public DNS name of the Amazon EC2 instance, or the public IP address of the server

    Protocol: SFTP

    Logon Type: Normal

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Maulik patel
  • 2,546
  • 2
  • 20
  • 26
0

I found this way to do it using:

sudo chown -R www-data:www-data /var/www/html/*

But I'm not sure if this introduces additional security risk...

This seems to open up the entire HTML directory as a writable space.

Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131