[TriLUG] restricting access to webserver
Alan Porter
porter at trilug.org
Sat Feb 2 08:02:53 EST 2008
> I need to give access via scp to a friend/user of my webserver.
> I wish to restrict him to a specific directory ( not
> necessarily a home/user directory). The user doesn't need
> ssh capability. He just needs to upload to, and/or download
> files from the specific directory.
This sounds like you'll want a "chroot jail for ssh". This
basically sets up a chroot with nothing in it except what's
required for sshd to run, and the home directory.
See http://www.fuschlberger.net/programs/ssh-scp-sftp-chroot-jail/
or Google for "ssh chroot jail".
Alan
.
More information about the TriLUG
mailing list