storm.richard at gmail.com
Sun Jul 29 07:46:13 EST 2007
Thanks for these 3rd party hacks! I don't trust them.
There must be such feature in openssh out of box.
So the most secure/easyer method of giving sftp access to porn collection is:
Damiens sftp-server chroot patch, which I hope to see in openssh one day :)
# useradd -d /data/p0rn -m share
Match user share
ForceCommand /usr/libexec/sftp-server -C %d
pkill sshd; /usr/sbin/sshd
and done :)
On 7/28/07, Peter SJF Bance <Minstrel at minstrel.org.uk> wrote:
> I noticed your post at:
> I don't subscribe to the list, so can't reply there, but this may help:
> This discusses how to set up chroot'd SFTP only (no shell).
> Peter SJF Bance
More information about the openssh-unix-dev