Re: SSH SFTP Chroot

From: pinguskahn (adrock_at_devjunky.com)
Date: 07/30/03


Date: Wed, 30 Jul 2003 07:27:20 -0400

On Mon, 28 Jul 2003 18:52:15 +0200, stephan beal wrote:

> pinguskahn wrote:
>
>> How does one go about chrooting SSH SFTP users?
>>
>> -A
>
> Google:
> ssh+sftp+chroot
>
> first result: "installing chroot support in ssh/sftp opensssh-3.5p1"

Thanks for the replies. My main concern was that I had multiple users and
I didn't like the idea of them being able to view the contents of other
people's home directories. I read about the downfalls of using chroot so I
alternatively decided to chmod 700 -R the home directories. This worked
great with the exception that apache could no longer read the public_html
directory. I have since created another location to store user web
directories and am just using a symlink to point to it from the user's
home directory. this is ok for a small environment, but if I had to set up
multiple accounts this way I imagine I would grow tired of the procedure.

-Adam