Report this

What is the reason for this report?

SFTP access for wordpress uploads

Posted on November 19, 2014

Trying to upload theme and media files with filezilla through SFTP. I can’t login with www-data. It doesn’t accept the password. When I try to login with the www-data username in the console, it closes the connection immediately.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

This question was answered by @sierracircle:

You probably should use your regular user, and just add that user to www-data group.

From a command-line:

sudo usermod -a -G www-data $USER

then check it worked by running:

id $USER

you should see a list of all groups that user belongs to, www-data should be listed

View the original comment

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.