Can't access VPS via SFTP

May 13, 2015 1.2k views
LAMP Stack Getting Started Firewall

Hi All,

I just installed CentOS and LAMP on my droplet following the getting started tutorial line by line. Unfortunately, I can't seem to upload files via both SFTP clients, FileZilla and Cyberduck. I have tried a adding the public key which was created prior to the server setup, however, I still can't upload anything.

I am not using the root account though.

Any ideas how to resolve this? Did I miss anything?

1 comment
1 Answer

This question was answered by @josefarrugia:

I did a bit searching on the community forums and I have the following post:

I used the following code to give my super user permissions to write:

chown -R apache:apache /var/www/html/
sudo usermod -a -G user apache
sudo setfacl -R -m u:user:rwx /var/www/html

Hope this is secure!

View the original comment

Have another answer? Share your knowledge.