View Single Post
  #3  
Old 6th March 2013, 12:26
Gijs Gijs is offline
Member
 
Join Date: Feb 2013
Posts: 54
Thanks: 20
Thanked 2 Times in 2 Posts
Default

If you check this line in /etc/passwd:
sshuser:x:1005:1005::/var/www/clients/210220203/web15/./home/sshuser:/usr/sbin/jk_chrootsh

This part defines the chrooted dir right:
/var/www/clients/210220203/web15/

And this the homedir:
/home/sshuser

So if I remove the last part it still connects fine and is still chrooted.

So you still think it is impossible to automatically use the chrooted dir?

Thanks
Reply With Quote