NETWORK ADMINISTRATIONSWindows server

วิธี 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

source

windows server

Alice AUSTIN

Alice AUSTIN is studying Cisco Systems Engineering. He has passion with both hardware and software and writes articles and reviews for many IT websites.