0

I am very new to linux, and I am trying to create an SFTP user that has full access to my wordpress installation which is at /var/www/wordpress. I want that when the user logs into sftp (via filezilla or similar) that his opening directory is /var/www/wordpress. I dont want this user to have access to the rest of the server; Only to the wordpress directory so they can upload/modify files.

I tried following the following directions, but they didn't seem to work. Link 1 and Link 2

Can anyone please recommend me proper directions of how to do this? I have been scouring the web for hours, but could'nt find anything that worked.

Thanks in advance!

2
  • 1
    Redo your Search Engine research using the term "SFTP chroot jail." There are many good guides out there. We don't know what you already tried, nor why it didn't work, so some of those guides may be familiar.
    – user535733
    Jul 17, 2019 at 19:43
  • I really appreciate you taking your time to reply. I googled that term exactly, and still haven't found any straighforward directions that work. I even got locked out of my ssh ftp user after trying one :(
    – harvey
    Jul 18, 2019 at 2:59

0

You must log in to answer this question.

Browse other questions tagged .