i have managed to setup froxlor with working FTP and SFTP in parallel.
<VirtualHost 0.0.0.0 fe80::1>
my /etc/ssh/sshd_config contains
# override default of no subsystems - chagned by tg
# Subsystem sftp /usr/lib/openssh/sftp-server
Subsystem sftp internal-sftp
Match User testkunde2
This is working ritght now. User testkunde2 is jailed in /var/customers/webs
But what i need is a multi user solution.
Question 1: how i could express the match expression for all froxlor users?
Match Group www-data
which don´t match for any reason. As result user is not jailed in any way and have reading root dir access.
User looks like
getent passwd testkunde2
Question 2: chroot is only working if dir is owned by root but froxlor home dirs are owned by user. How could this be managed?
This is a question about my personal understanding from froxlor / ssh / sftp. Froxlor home dirs are owned by it´s users. Is there any solution to integrate SFTP user jails for the homedirs of the users?