Create new SFTP user with limited access to the server's folders

  • Posted February 6, 2014

I’d like to create SFTP users to let others access specific folders of my server. I’m running centOS.


I am also running centOS. I would like to know how to setup a new SFTP user with access to only one directory of my server. However, FMCB’s answer to this question is confusing to me. I have never used centOS nor any other server OS. So I have NO idea how to “create a group” nor “assign a user to a group”. I’m sorry but can anyone put this in layman’s terms or direct me to some detail instructions? I’ve only been using DO for a couple days and this is all very new to me.

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

general guidelines–> <br> <br>1- create a group and grant permissions you want to this group. <br> <br>2- add users to that group you made. <br> <br>if each user will be given different permission, then it is always better to create multiple group with primary group so that the secondary can be controlled by the primary one. <br> <br>