Hello all,

We have two classes of users: regular users and sftp-only users.

We would like to set up ssh so that regular users can both ssh and
sftp into the system.  We would also like to set up ssh so that
sftp-only users can only sftp into their own, chrooted folder.

Thus far, we have been unsuccessful.  That is, we can create regular
users OR we can have chrooted sftp-only users, but not both.

Here's what I changed in /etc/ssh/sshd_config to create chrooted,
ftp-only users.

SubSystem sftp internal-sftp
Match Group sftp
    ChrootDirectory %h
    ForceCommand internal-sftp
    AllowTcpForwarding No

I then added those users to the sftp group.  If I make only this
change, sftp-only users are chrooted to their home folders and regular
users can ssh in, but they cannot sftp.

How can I enable regular users to sftp in?

Regards,
- Robert

-- 
-- 
Central West End Linux Users Group (via Google Groups)
Main page: http://www.cwelug.org
To post: [email protected]
To subscribe: [email protected]
To unsubscribe: [email protected]
More options: http://groups.google.com/group/cwelug
--- 
You received this message because you are subscribed to the Google Groups 
"Central West End Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to