SFTP acces to Wordpress

My YunoHost server

Hardware: Kimsufi KS4
YunoHost version: 4.1.5
I have access to my server : Through SSH + through the webadmin

Description of my issue


I’m not sure how to be able to upload a folder into my wordpress install (var/www/wordpress__n):

  • Using SFTP as admin, I can’t upload to this folder
  • Using SFTP as user, idem (of course)

So what would be a secure and long-term way to do that?


Look at this my_webapp_ynh/ssh_regenconf_hook at testing · YunoHost-Apps/my_webapp_ynh · GitHub

You have to do few manual processes for this.I think we have to change ChrootDirectory to the path of the Wordpress folder.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.