Re: [Chrootssh-users] Unable to ssh into the chroot environment
Brought to you by:
punkball
From: Russ L. <rl...@nc...> - 2006-11-29 15:00:13
|
I am still having the same issue here... I rebuilt openssh from the tarball and applied the patch with the following command: =20 patch -p1 < osshChroot-4.5p1.diff (inside the root of the source tree). Its output was patching session.c. I go and look at session.c and it has the chroot patch code there. =20 I proceed to issue the command rpmbuild -bb contrib/redhat/openssh.spec and it builds with no errors so I install it and it works ssh -V results in the following output OpenSSH_4.5p1, OpenSSL 0.9.7f 22 Mar 2005 (I was running the default version 4.0 before the update) =20 Then I used all the instructions from http://chrootssh.sourceforge.net/docs/chrootedsftp.html <http://chrootssh.sourceforge.net/docs/chrootedsftp.html> and I still get the same result :-( =20 Can anyone shine some light on this for me? Russ =20 =20 ________________________________ From: chr...@li... [mailto:chr...@li...] On Behalf Of Russ Lavoie Sent: Monday, November 27, 2006 3:14 PM To: chr...@li... Subject: [Chrootssh-users] Unable to ssh into the chroot environment =20 I followed the instructions at the following site: =20 http://chrootssh.sourceforge.net/docs/chrootedsftp.html =20 I am running Fedora Core 4 and ssh 4.5.1 which I downloaded from http://chrootssh.sourceforge.net/download/ =20 I created an RPM and it installs and works, but I am unable to get the chroot account to stay jailed in the /var/ftp/test directory tree... =20 Here is my directory listing (/var/ftp/test is the user "test" jail its home is /var/ftp/test/home/test): =20 [root@ncaopsdev test]# pwd /var/ftp/test =20 drwxr-xr-x 2 root root 4096 Nov 27 10:05 bin drwxr-xr-x 2 root root 4096 Nov 27 10:08 dev drwxr-xr-x 3 test test 4096 Nov 27 10:36 home drwxr-xr-x 2 root root 4096 Nov 27 10:14 lib drwxr-xr-x 4 root root 4096 Nov 27 10:04 usr =20 All of the needed libraries are in their respective spot. =20 Can anyone help me out here? =20 Russ =20 |