Chroot SSHD

Hello,

How to make Chroot SSHD (Lock Down Users To Their Home Directories), and show user files from /srv/www/htdocs/their_files in their /home directory tree?

you can disable ssh shell login and then install and enable scponly for those users.

alternatively, you can set up jailkit : jailkit howto - ssh only shell in a chroot jail