1

I need set the folder /usr/share/nginx/site/folder as home folder and restrict this user to don't view/download other up folders...my idea is, permit the access just via sftp.

Has a website running on site folder.

I try:

1- Create a user and set /usr/share/nginx/site/folder as the first folder on login via sftp..but the user see other folders...

Any idea?

  • 1
    You have to configure chrooted sftp environment. – Kadir Nov 5 '15 at 13:07
  • I tried, but i could not set correctly. this link – user2925795 Nov 5 '15 at 13:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.