today I came across the following question:
Is there an easy way to offer users the possibility to use sftp / scp (with winscp for example) and keep them chrooted within their user dirs? Right now this isn't possible and a lot of information is dealing with building a chroot environment by copying a lot of files to and fro to build such a jail.
But I am looking for a possibility to achieve this without having to build such a chrooting jail, using some wrapper perhaps or an alternative shell or something like that.
With normal ftp it is quite easy but rather insecure compared to sftp / scp...
Perhaps some of you have been dealing with that already in the past and are willing to hover some hints over to me

Greetings
claus