Thomas Oryon
Basic Pleskian
- Server operating system version
- Windows 2022 server
- Plesk version and microupdate number
- 18.0.56
Hello Support,
We are using Plesk Windows Server and have set up SFTP access with chroot restrictions using OpenSSH. Our current setup restricts each user to a specific directory by manually adding entries in the sshd_config. Kindly refer to the below snippet for your reference.
+++
Match User ftpuser
ChrootDirectory C:\inetpub\vhosts\yourdomain.tld
ForceCommand internal-sftp
AllowTcpForwarding no
+++
This method works fine for a few users, but it becomes difficult to manage when there are many users. Manually adding each user is not practical for a mass hosting service.
Kindly let us know if Plesk has any built-in tools, extensions, or scripts that can help with this.
Awaiting your replay.
We are using Plesk Windows Server and have set up SFTP access with chroot restrictions using OpenSSH. Our current setup restricts each user to a specific directory by manually adding entries in the sshd_config. Kindly refer to the below snippet for your reference.
+++
Match User ftpuser
ChrootDirectory C:\inetpub\vhosts\yourdomain.tld
ForceCommand internal-sftp
AllowTcpForwarding no
+++
This method works fine for a few users, but it becomes difficult to manage when there are many users. Manually adding each user is not practical for a mass hosting service.
Kindly let us know if Plesk has any built-in tools, extensions, or scripts that can help with this.
Awaiting your replay.