Installing SFTP on Windows Server - Cybersecurity & Data Management

Installing SFTP on Windows Server

This is not to be confused with FTP or FTPS. SFTP is specially used when the client is looking to SSH into the server.

First thing you need to do is download the needed software. I’ve used Cygwin so that is what I will be using in this example. Open an internet browser and go to https://cygwin.com/install.html

Choose the 64-bit install (setup-x86 64.exe).

Select Run

You should be seeing the screen below:
cygwin-1

Continue to hit next on until you see the screen with installation options:
cygwin-2

Be sure to select Download Without Installing, as install from the internet has issues.

Continue to hit next, selecting direct connection when asked. You will be presented with a select packages screen.
cygwin-3

On this screen make sure you change the view in the upper left corner to full (position 1)

Then scroll down until you get to the openssh section depicted in position 2. On the far left you will see the word skip. Click on this and it will change to the version number. In this example it is 7.3 on position 3. Do this for all the openssh and openssl options. It should be six selections total.

Click next on the Resolving Dependencies screen to begin the install.
cygwin-4

Allow it to download all the needed files and select finish. Navigate to the Downloads folder and you will see the setup-x86_64.
cygwin-5

Hold down the shift key and right click on the set up file, and select run as administrator.
cygwin-6

Click Next on the screen and when Choose Installation Type this time select Install from Local Directory
cygwin-7

Continue to hit next leaving everything on default until you get to the Select Packages screen.
This screen should be familiar, and we will repeat the previous step, while before we told it to download these packages now we are telling it to install these packages.
cygwin-8

Once it finishes installing, which can take several minutes at displaying 0% progress, it will give you an Installation Status and Create Icons. Deselect theses and click finish.
cygwin-9

Cygwin is now installed on the server. Congrats!!!

Now you need to configure SFTP, outlined in SFTP Configuration for Windows Server.