secure user restriction

Richard Storm storm.richard at
Sat Jul 28 06:47:49 EST 2007

I am using sftp-server chroot patch:

Works fine, except user is able to ssh in box.
I could change users shell to /usr/libexec/sftp-server, but then
chrooting wouldn't work.
What is secure way to accomplish this, so that I could
give friend ssh access, so that he could upload/download stuff, but
not compromise my system or reveal any sensitive information?

More information about the openssh-unix-dev mailing list