
There is a file named sshd_config at %programdata%\ssh, where you can modify it to suit your needs. However, you might still want to do some configurations before using it. Up till now, the SFTP server is basically ready to use. To make sure SFTP server starts up every time when the server is up, run the following command: Set-Service -Name sshd -StartupType 'Automatic' When everything is ready, you can start sshd: Start-Service sshd You have to create a firewall rule: New-NetFirewallRule -Name sshd -DisplayName 'OpenSSH Server (sshd)' ` File 'C:\Program Files\OpenSSH-Win32\install-sshd.ps1'Īs the new SFTP server needs to accept external request, a port needs to be used to allow inbound connection. Install sshd: powershell.exe -ExecutionPolicy Bypass ` Once you have downloaded OpenSSH for Windows, you can unzip it by running the following command: Expand-Archive -Path ` Be sure to open the PowerShell as an administrator before running the following commands.įirst, you have to unzip the file. Once you have downloaded the zip file of OpenSSH, you can complete the setup using PowerShell. Originally, OpenSSH was only available on Linux, but Microsoft has ported it to Windows, so you can now use OpenSSH by downloading the zip file from here. sftp-server is one of the utility programs provided by OpenSSH, so this article will walk you through how to set up an SFTP server on Windows using OpenSSH. OpenSSH is a suite of programs for establishing secure connections to the server. So, are there any other ways to set up an SFTP on Windows? Yes, of course.



Even FileZilla Server, one of the most popular programs for setting up a FTP server, doesn't support SFTP out of the box. Unlike Linux, Windows does not come with any tools for setting up an SFTP server.
