[TriLUG] restricting access to webserver

James c. Jones jonesjc at intrex.net
Sat Feb 2 11:45:14 EST 2008


Thanks Alan,

I will check that out.

jcj
Alan Porter wrote:
>  > 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