1、下载openssh .msi文件
Releases · PowerShell/Win32-OpenSSH · GitHub
2、start-service ssh
3、start-service sshd
4、set-service -Name sshd -StartupType Automatic
5、new-localuser -name cimcUser -passwordNeverExpires:$true
6、sftp cimcUser@localhost
7、修改C:\ProgramData\ssh\sshd_config
ChrootDirectory D:\FileStore
8、去服务列表重启