View Single Post
  #1  
Old 17th January 2011, 09:27
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 98
Thanks: 35
Thanked 3 Times in 3 Posts
Default 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
/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?
Reply With Quote
Sponsored Links