SSH jailkit wrong folder
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
and can see only this path:
The problem is that the right web site folder is
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! :o
Is it possible to change the default start folder to / (user root) or /web instead of /home/web1?
No, thats not possible.
|All times are GMT +2. The time now is 05:26.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.