วิธี Install SFTP server on windows
Link : https://learn.microsoft.com/en-us/windows-server/administration/openssh/openssh_install_firstuse?tabs=gui
Config sshd_config
%ProgramData%ssh
Home Directory edit file sshd_config
# Specify the default folder the user sees after SFTP authentication. Without this, users will see C:usersmyuser as default folder, which is not usually preferable
Match User user1
ChrootDirectory c:sftp1
X11Forwarding no
AllowTcpForwarding no
Match User user2
ChrootDirectory c:sftp2
X11Forwarding no
AllowTcpForwarding no
windows server