

To work with the IIS FTP site with an SSL, you set up your Filezilla client with "FTP" as the protocol and set the encryption picklist to one of the "FTP over TLS" choices. There is no encryption picklist box to use. In Filezilla (the client) you set the Protocol to "SFTP - SSH File Transfer Protocol". Afraid I can't help too much on that yet, because the idea that SSH is available on Windows isn't in my reality. I see you went for OpenSSH support and SSH which is new to Windows Server 2019 and even in recent feature releases, so I don't yet consider it native support on Windows. It really is a standard FTP that uses TLS to turn the connection secure.

This is a "secure" site built on the FTP protocol and uses ports 20 and 21. Windows Server since at least 2003 has been able to do this for you totally within IIS when you create an ftp site and bind the SSL you use for the web site. This version is better labeld as "FTP over TLS". The other meaning of "SFTP" and secure FTP is not the above but securing an FTP server with an SSL. SFTP meaning "secure" FTP built on top of the SSH (port 22) protocol. When you speak of "SFTP", what are you looking for? I totally understand that you went after - the SFTP feature of OpenSSH- which is native to Linux and a certain configuration of SSHd_config. You mentioned "SFTP" and open SSH, filezilla, port 22 and that you are on Windows Server 2019. What are the proper steps on creating SFTP with user isolation?

I’ve tried changing the sshd_config file located in the main ssh folder (following these steps ) When I try to restart the ‘OpenSSH SSH Server ’ I get an error saying that it can’t start the server. When a user connects using SFTP, the permissions I defined are no longer valid and the user can access every folder.Īlso, when the user logs in, system creates a new folder called by his username (example: user01) in the main ‘Users’ folder inside VM.

I Installed it using Apps > Apps & Features, started it, and I created a new Firewall rule for port 22. Then, I tried setting up the SFTP, for that I need OpenSSH SSH Server. Each user has its own directory which he can access and Admins can access all folders inside ftproot folder.Įach user permission worked fine when connecting via FileZilla – on the regular FTP. I created FTP site and I set the permissions for each user and user groups (Admins/Users) using virtual directory.
