SFTP Access Restrictions

Matt Juszczak matt at atopia.net
Sat Dec 27 10:50:54 PST 2003

> Matthew Juszczak <matt at atopia.net> writes:
>> I was wondering if there is a way to setup permissions through SFTP that
>> are "higher" than the actual account's permissions.  Sort of the like
>> the features available with ftp through /etc/ftpchroot.  Right now I
>> have about 10 users who's shell is set to sftp-server, so the only thing
>> they can do is sftp in.
> Please be just a bit more precise.  What do you want your setup to do
> that its current arrangement isn't doing?

I would like users who use sftp to be restricted to their home directory
only.  Is there a way to do this without setting up a "jail" of sorts?  In
regular ftp, I know the file /etc/ftpchroot allows access control (as well
as in the actual ftp config file, for instance proftpd allows you to set
options to restrict users to their home directory only).



More information about the freebsd-questions mailing list