[CentOS] scp setup jailed chroot on Centos7

Fri Oct 20 13:58:15 UTC 2017
Adrian Jenzer <a.jenzer at herzogdemeuron.com>

Dear all

I'm looking for instructions on how to setup a jailed chroot directory for user which needs to upload via scp to the server.
Especially I miss clear instructions about what needs to be in the jailed directory available, like binaries, libraries, etc...
Without jail I get it to work, but I want to prevent user downloading for example /etc folder from the server.

Does anybody have a link or list valid for Centos7


Thanks
Regards Adrian