Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: d_gerst on February 12, 2006, 04:57:19 PM

Title: SFTP and chroot, HowTo needed
Post by: d_gerst on February 12, 2006, 04:57:19 PM
Hello,

I use a SME 6.5 and I want to give some users sftp access from internet(this works fine with dungog contrib), not ftps, . But I want to restrict a user to specified directory, so he or she could only access this directory and subfolders of the directory. I tried to use examples of rssh.conf, but it won't work.

Could someone give me a clue or a howto for chroot for sftp?

Best regards,
Daniel
Title: Re: SFTP and chroot, HowTo needed
Post by: CharlieBrady on February 12, 2006, 05:24:21 PM
Quote from: "d_gerst"

Could someone give me a clue or a howto for chroot for sftp?


It's probably unwise to do that. chrooting a user to a directory which they control (can modify) will result in reduced security (including possible root exploit) rather than increased security.