paste C:\Program Files\OpenSSH


run powershell as and admin


$ cd '.\Program Files\OpenSSH'


powershell.exe -ExecutionPolicy Bypass -File install-sshd.ps1


Create local user tkm in manage


grant permissions


icacls "D:\Projects\Toyota7" /grant "tkm:(OI)(CI)(M)"


Edit the file C:\ProgramData\ssh\sshd_config


uncomment


PasswordAuthentication yes


remove at end


Match Group administrators

       AuthorizedKeysFile __PROGRAMDATA__/ssh/administrators_authorized_keys


Add this


Match User tkm

    ChrootDirectory D:\Projects\Toyota7

    ForceCommand internal-sftp

    AllowTcpForwarding no

    X11Forwarding no



save and close the file


now open services and change manual to auto and start both services.


OpenSSH SSH Server


OpenSSH Authentication Agent

now test filezilla