Sftp - How to restrict user to Home Directory?


two questions regarding sftp:

  1. How is it possible to deny sftp access to individual users?
  2. How is it possible to restrict individual users’ access to their home directory?
    They can currently see and enter some other directories.

Thanks for helping

That’s not a yunohost-relative problem but a linux-relative problem.
nevertheless, you could achieve this following this tutorial:

YunoHost 4.2 fix this issue by adding SFTP/SSH permission system.

In last version of 4.1 and 3.8 users are not allowed to go in some directory.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.