I am facing an error while upload any media in wordpress.

The uploaded file could not be moved to wp-content/uploads/…..

I am using digital ocean,ubuntu 14.04,WordPress 4.7 and SSH so am pretty sure i need to do some configurations because there is no error with permissions. I have assigned 777 to uploads for once but no solution.

After that i used this plugin

SSH SFTP Updater Support

but this plugin supports install and update plugins with ssh but all i want to upload images.

Another things i tried

https://www.digitalocean.com/community/tutorials/how-to-configure-secure-updates-and-installations-in-wordpress-on-ubuntu

to configure ssh keys but i doubt i am doing it wrong. Hope any one could give a idea.

Thanks in advance.

Read more here: Upload wordpress media with ssh


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: