Add sftp user to access /var/www/html directory

I want to add a sftp user to access /var/www/html directory only, without ssh login permission.Tried many tutorials available across internet but no one is working. However same method working on LAMP server but not working with litespeed installed vps.

Can anyone help in this, how you guys are creating ftp users?


Well-Known Member
Staff member
LiteSpeed has nothing to do with sftp and should not stop you to use sftp. It has nothing to do with LAMP either. purely sftp setup issue.


Active Member
HI, I know this may be a basic question but I am trying to understand what the best practices is with www sites and the file Kodi nox permissions.
Last edited: