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!