View Single Post
  #11  
Old 17th July 2006, 18:57
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,033
Thanks: 261
Thanked 149 Times in 130 Posts
Default

Quote:
Originally Posted by till
Sure, first you will have to install a patched SSH daemon as chrooting is not supported by SSH by default.

See step 2 in this howto:
http://www.howtoforge.com/chrooted_ssh_howto_debian

Then you will have to enable it in ISPConfig in the file config.inc.php, set:

$go_info["server"]["ssh_chroot"] = 1;

The user account will be chrooted for every user with SSH enabled that you create or update.
What config.inc.php file?? I've got 3

Code:
/home/admispconfig/ispconfig/lib/config.inc.php
/home/admispconfig/ispconfig/web/phpmyadmin/config.inc.php
/root/ispconfig/scripts/lib/config.inc.php
Also.. the step 2 in the howto did give me an error about 'zlib' beeing old!
I've done the ./configure with the extra "--without-zlib-version-check" option.

** edit

I guess it's the
Code:
/home/admispconfig/ispconfig/lib/config.inc.php
as it's the only one with $go_info["server"]["ssh_chroot"] in it

Last edited by edge; 17th July 2006 at 19:01.
Reply With Quote
Sponsored Links