Setting up an SFTP server in Windows (OpenSSH), tell me how to give each user access to their own independent folder? After configuring sshd_config:
#Match User sftp_serv
AllowTcpForwarding no
ChrootDirectory D:SFTP
ForceCommand internal-sftp
#Match User bandurina
AllowTcpForwarding no
ChrootDirectory D:BANDURINA
ForceCommand internal-sftp
The rule only works for the ChrootDirectory D:SFTP directory, and under the sftp_serv user and under the bandurina user, but it does not connect to the ChrootDirectory D:BANDURINA directory.
How can I still separate users into their own directory???