[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: sftp with chroot?

...I'm trying....


apt-get install scponly
dpkg-reconfigure scponly # Select: Yes
cd /usr/share/doc/scponly/setup_chroot
gunzip setup_chroot.sh.gz
sh setup_chroot.sh # Just use default settings

Ok, now I:

echo "">/var/log/auth.log

Then try to log in:

sftp scponly@localhost

Connection closed.


Why doesn't it work???

p.s.: Yes, I copy the sftpd-server to /home/scponly/usr/lib/sftpd-server

is it a bug? :(

--- On Sat, 8/1/09, Eugene Apolinary <eugeneapolinary80@yahoo.com> wrote:

From: Eugene Apolinary <eugeneapolinary80@yahoo.com>
Subject: sftp with chroot?
To: debian-user@lists.debian.org
Date: Saturday, August 1, 2009, 6:50 PM


I want to make an sftp server....

- Only an sftp server
- Some users may log in by ssh (with openssh-server), some users can only use sftp
- Important! - Chroot! Users using sftp must only see e.g.: their home directory, or better: a folder in it.
- Under Debian Lenny

Is there any good, secure solution? At least links to howtos? :S

Thank You!

Reply to: