Question
SFTP access for wordpress uploads
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.
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.
×
You probably should use your regular user, and just add that user to www-data group.
From a command-line:
then check it worked by running:
you should see a list of all groups that user belongs to, www-data should be listed