Re: [Chrootssh-users] ssh connections dropped
Brought to you by:
punkball
From: James D. <jd...@la...> - 2004-01-06 12:55:15
|
Hey Nathan, Sorry about the late response, I've been on vacation over xmas break.=20 It sounds like you're missing libraries. Have you ldd'd everything to=20 make sure you've got everything you need in the chroot present? -James On Tuesday, December 30, 2003, at 02:33 PM, Nathan Weast wrote: > I have read through the mailing lists archives, but I have not found a=20= > solution that seems to work for what I have done, so I would like to=20= > ask for some help from anyone that might be able to offer some. > > =A0 > > I have RH 9.0 installed and my config is as follows: > > Chroot env: > > =A0 > > /u01/alcatraz/ > > [root@orion alcatraz]# ls -R > > .: > > bin=A0 dev=A0 home=A0 lib=A0 usr > > ./bin: > > bash=A0 cp=A0 ls=A0 mkdir=A0 mv=A0 rm=A0 rmdir=A0 sh > > ./dev: > > null=A0 zero > > ./home: > > test > > ./home/test: > > ./lib: > > ld-linux.so.2=A0 libacl.so.1.0.3=A0 libattr.so.1.0.1=A0 libcrypt.so.1=A0= =20 > libdl.so.2=A0=A0 libtermcap.so.2 > > libacl.so.1=A0=A0=A0 libattr.so.1=A0=A0=A0=A0 libcrypto.so.4=A0=A0=A0 = libc.so.6=A0=A0=A0=A0=A0=20 > libnsl.so.1=A0 libutil.so.1 > > ./usr: > > lib=A0 local > > ./usr/lib: > > libz.so.1 > > ./usr/local: > > libexec > > ./usr/local/libexec: > > sftp-server > > =A0 > > =A0 > > the passwd file entry for the test user: > > test:x:505:506::/u01/alcatraz/./home/test:/bin/sh > > =A0 > > When I try to ssh with the /./ I get: > > [root@castle lib]# ssh -l test orion > > test@orion's password: > > Connection to orion closed by remote host. > > Connection to orion closed. > > =A0 > > Without the /./ I can connect using ssh and sftp perfectly. > > First, I built openssh-3.7.1p2-chroot.tar.gz but when that didn=92t=20 > work, I downloaded and built openssh-3.7.1p2.tar.gz with=20 > osshChroot-3.7.1p2.diff, but I am still at a standstill.=A0 > > =A0 > > TIA > > =A0 > > Nathan Weast > |