How can I make sftp accounts that can only access their home directory?

Posted by LonnieBest on Super User See other posts from Super User or by LonnieBest
Published on 2010-03-20T18:27:22Z Indexed on 2010/03/20 18:31 UTC
Read the original article Hit count: 373

Filed under:
|
|
|

I'm using Ubuntu Server 9.10.

I need to setup 6 accounts for users that will exclusively need sftp. When the user logs in, I need them to only have access to their home directory. I don't want them to be able to navigate to any other places in the file system. I need their ability to type commands to be limited to only the commands needed to view and transfer files back and forth to their home directory.

Can anyone offer some guidance on setting thing up this way?

© Super User or respective owner

Related posts about ubuntu

Related posts about server