scponly - restrict user to home directory

Hi,

We use sftp in order to ftp to our wordpress application.
The way we do it is by creating user and set the shell to scponly. shells/scponly
I have noticed that the users that ftp to the site using WinSCP, are all able to navigate the file system. They are however not able to read the file...
Is there a way i can stop the user to navigate around the file system and restrict them to their /home/directory

Thank you
 
scponly(8):
Code:
     +o	 chroot: scponly can chroot to the user's home directory (or any other
	 directory the user has	permissions for), disallowing access to	the
	 rest of the filesystem.
 
Back
Top