Hello I want a sftp under a specific Base Dir With user; watashi_sshuapdoc Chroot Shell: Jailkit Base Dir: /var/www/clients/client1/web3 (default) Logged user can see : / and all system tree... How to configure ISPC to login the sftp user in: /home/watashi_sshuapdoc or other "base dir" as defined ? without any way to see other files and folder than "Base dir" content ?
No, he can't see nor access / and all the system tree if you enable jailkit. You might want to read more about what jails are to understand that what you see is not / of the system. What you see there might look like it's / of the system, but it's not. In fact, you see the directory /var/www/clients/clientX/webX/ (web root directory) of the website this user belongs to. And a user is always jailed to the website root, so /var/www/clients/clientX/webX/ and not his home dir /var/www/clients/clientX/webX/home/username
First of all, did you install jailkit during your setup? How old is the setup, there were guides in the past where it was recommended to compile on your own, it might be time to update then. Reconfigure ispconfig after installing it if it was not there or is unavailable when you tick the jailkit option for ssh users.