Hi all, I would like to restrict access for a new ssh-user with jailkit enabled to a subdirectory. Without a custom base directory, everything works fine and the ssh user can log in. But if I change the base directory to a subdirectory, the same ssh-user can no longer log in. The console then says: "Could not chdir to home directory /var/www/clients/client1/web1/subdirectory/./home/sh_user_test: Permission denied Connection to srv4.example.de closed." Is this a know bug maybe or what am I doing wrong? (ISPConfig Version: 3.2.9p1 / Debian 10) Thanks in advance! Scooopy
Did you add that subdirectory to the jail? Have you read jailkit documentation? It is good and there is lots of it.
thanks for your answer. the directory is present. it is the main directory of a vhost and I can see the created jailkit folders within. not really until now. I thought it would/should work out of the box.