I am trying to add a user within an account to allow them restricted access via SSH to transfer files. I have installed the SCPONLY shell.

Account /home/boiling

I would like a new user 'boilingweb' to be part of the above account but restricted to the '/home/boiling/public_html' folder. Here's the command I have been using without success:

CODE
useradd -s /usr/libexec/openssh/sftp-server -g boiling -d /home/boiling/public_html boilingweb



passwd boilingweb


The public_html folder is set with the following permissions:
CODE
drwxr-x---    3 boiling  nobody       4.0k Jul 17 11:08 public_html/


The files inside public_html:

CODE
drwxr-x---    3 boiling  nobody       4.0k Jul 17 11:25 ./

drwx--x--x    8 boiling  boiling      4.0k Jul 17 10:28 ../

drwxr-xr-x    2 boiling  boiling      4.0k Jun 15 14:49 cgi-bin/

-rw-r--r--    1 boiling  boiling         0 Jun 21 14:55 .htaccess

-rw-r--r--    1 boiling  boiling       426 Jul 17 10:49 index.php


If I login via SFTP, and review the present working directort, I am in /

Any help would be much appreciated.