How do I chroot users so that they cannot get out of their home directories when using SFTP?
asked Dec 29 '10 at 19:33
SSH KB ♦
To chroot users to their home directories when using SFTP in 4.x:
If all the users are in the same group, edit the following instead:
Note: If the ssh-dummy-shell binary is not static, you need to copy also the libraries the binary needs under the chroot jail. You can check the shared library dependencies with ldd command.