OpenSSH SFTP server with chroot() + File Permissions
- by HannesFostie
I am currently setting up an SFTP server but there is one detail I can't seem to figure out.
When I add a user, I would like him to connect using his client and be able to write in his "root dir" right away.
My Match case for the SFTP-users group currently has ChrootDirectory set as "/home/%u", and inside that directory I have to have a…