So iam setting up an autotunnel that is being used on some software iam deploying to a client.
I need to restrict the user to that 1 folder but let them do what ever they want in that 1 folder.
When the user is logged onto my server it will be dropping logs and other data into that folder with a cronjob.
But i do not what to take any risk with my server and need to make sure they are jailed into that 1 folder.
When the tunnel is setup this allows me to go ahead and ssh backwards to there system and helps me bypass any firewalls.
Pretty much i need a chroot jail for a new user iam making on the server.
So when they tunnel / login to my server they are restricted to that 1 folder.
This will allow me to rsync entire directors and logs to that folder but keep my server safe.
iam stuck on the chroot jail... and i know there has to be an easy way to do this.

