Re: SFTP connection
OpenSSH has
https://man.openbsd.org/sshd_config#ChrootDirectory
And it seems to be supported on Win32-OpenSSH too:
https://github.com/PowerShell/Win32-OpenSSH/wiki/sshd_config#chrootdirectory
ChrootDirectory
directive for this.
https://man.openbsd.org/sshd_config#ChrootDirectory
And it seems to be supported on Win32-OpenSSH too:
https://github.com/PowerShell/Win32-OpenSSH/wiki/sshd_config#chrootdirectory