HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Chrooted SSH & ISPConfig (http://www.howtoforge.com/forums/showthread.php?t=22903)

SamTzu 2nd May 2008 11:21

Chrooted SSH & ISPConfig
 
Question.

Does ISPConfig need pre-existing Chrooted SSH?
Does it create one?

falko 3rd May 2008 20:37

You must compile a new OpenSSH, as shown in chapter 2.1 on http://www.howtoforge.com/chroot_ssh_sftp_debian_etch

The rest is done by ISPConfig.

SamTzu 3rd May 2008 21:27

ok. thx.
Has anyone tried this with the new Ubuntu 8.04 LTS?

Sam

falko 4th May 2008 17:56

Not yet, but I don't see any problem. :)

SamTzu 10th May 2008 14:30

After trying to configure the script stops at PAM headers check and saiz...
Quote:

configure: error: PAM headers not found
What could cause this?
Do I need to recreate the SSH certs?

SamTzu 10th May 2008 20:46

My bad. Missing libs.
Ubuntu 8.04 LTS has libssl0.9.8 not .7 as in the howto.
Just replace the version and it should work.

SamTzu 11th May 2008 00:39

Ok. Installed SSH chroot without errors but it does not seem to work in my ISPConfig installation.
Should I have created the chroot environment under /home/chroot?
Or maybe /var/www?
I notice there is no /var/www/web1/etc dir.
Without etc dir there cant be passwd file with /./web1 user.
How do I get ISPConfig to include those when new user is created?

falko 11th May 2008 22:48

Did you set $go_info["server"]["ssh_chroot"] to 1 in /home/admispconfig/ispconfig/lib/config.inc.php?

SamTzu 11th May 2008 23:13

Nope. : ) thx 4 the tip.


All times are GMT +2. The time now is 15:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.