I create a ssh user with "Chroot Shell" set to "Jailkit" and home directory to /var/www/clients/client1/web1 (the default). So ssh user start folder is /home/web1, that is /var/www/clients/client1/web1/home/web1, and can see only this path: /home /home/[shell_user_name] /home/web1 The problem is that the right web site folder is /var/www/clients/client1/web1/web which is unreachable by the ssh user. In this situation the user is unable to upload his site in the correct folder. Am I doing something wrong? How can I fix this problem?
There is no problem and the paths are correct. The jail root of a website is /var/www/clients/client1/web1/ and every ssh user has its own homedire inside the jail (/var/www/clients/client1/web1/home/web1). The directory /var/www/clients/client1/web1/web is the web dir and of course this is reachable by the ssh user, as it has the same userid and it is inside the jail.
You are right, sorry! Is it possible to change the default start folder to / (user root) or /web instead of /home/web1?