Windows Server 2022
Installed optional feature OpenSSH Server
With FileZilla I connect to server as MyUser which opens to
/C:/Users/MyUser/
which is the default directory.
But what I want is for the sftp home folder to map to C:/sftp/
According to OpenSSH instructions I need to modify sshd_config
I only find this file
C:\Windows\System32\OpenSSH\sshd_config_default
( although this file is not marked read-only, apparently is can't be edited or overwritten )
so I created a copy
C:\Windows\System32\OpenSSH\sshd_config
and modified the line :
Subsystem sftp sftp-server.exe -d "C:\sftp"
Next I restarted the OpenSSH Server Windows Service.
However, FileZilla still connects to /C:/Users/MyUser/