[Chrootssh-users] sftp and chroot "Connection closed" ?
Brought to you by:
punkball
From: Hector D. <hdo...@aj...> - 2003-10-27 14:14:27
|
Hello =20 I need a "how to", to use sftp with chroot =20 =20 I'm trying this commands and ssh run with chroot but sftp no. =20 # sftp admin@localhost Connecting to localhost... admin@localhost's password: Connection closed # =20 =20 rpm -e openssl --nodeps cd openssl-0.9.7 ./config zlib-dynamic threads shared -DSSL_FORBID_ENULL -fPIC make make test make install ln -s /usr/local/ssl/lib/libssl.so.0.9.7 /lib/libssl.so.2 ln -s /usr/local/ssl/lib/libcrypto.so.0.9.7 /lib/libcrypto.so.2 cd /usr/local/ssl/lib/ ln -s libcrypto.so.0.9.7 libcrypto.so.2 ln -s libssl.so.0.9.7 libssl.so.2 echo /usr/local/ssl/lib >> /etc/ld.so.conf ldconfig -v =20 cd openssh-3.5p1 useradd sshd patch < openssh-chroot-3.5p1.patch ./configure --with-pam --with-ipaddr-display --with-ipv4-default --with-md5-passwords make make install cp contrib/redhat/sshd.init /etc/init.d/sshd chkconfig --add sshd cp contrib/redhat/sshd.pam /etc/pam.d/sshd =20 thanks =20 H=E9ctor Doblado =20 |