Blog

Managed File Transfer and Network Solutions

How To Install A SFTP Server on Windows

Posted by John Carl Villanueva on Sat, Sep 19, 2015 @ 10:00 AM

Overview

Because Windows doesn't have an SFTP server built in, here's a tutorial showing how to install one on it. 


The SFTP server we'll be using for this tutorial is JSCAPE MFT Server, a managed file transfer server that supports SFTP and several other file transfer protocols like FTP, FTPS, HTTP, HTTPS, WebDAV, and even AS2 and OFTP, among others. 

 

Installing the server

To download the SFTP server installer, just click the download button below.

 

Download Now  

 

Make sure you download the installer that's appropriate for your system. If you have a 32-bit Windows system, then download install.exe. But if you have a 64-bit Windows system, download install_64.exe. As soon as you have the installer on your Windows machine, double-click it to launch.

 

 

 

 

When you're asked, "Do you want to allow the following program from an unknown publisher to make changes to this computer?", just click Yes.

 

 

That should bring up the JSCAPE MFT Server Setup Wizard's welcome screen. Click Next to proceed.

 

 

Next up is the License Agreement. Go through the contents of that agreement. If everything looks good to you, select the option labeled "I accept the agreement" and then click the Next button.

 

 

 

You'll then be prompted to enter the installation's destination directory. This is where all the server's files will be stored. Normally, the installation will be placed under C:\Program Files\JSCAPE MFT Server directory. If you want it to be stored in another directory, just click the Browse button and browse to your desired directory. Once you're done, click the Next button.

 

 

The JSCAPE MFT Server installation comes with two components: the server (labeled JSCAPE MFT Server) and the Java-based server manager (labeled JSCAPE MFT Server Manager). The latest version of JSCAPE MFT Server already comes with a Web-based administrative interface, which allows admins to access the server remotely through a web browser (e.g. Chrome, Firefox, Internet Explorer, or Safari).

However, we would recommend that you still install the local, Java-based server manager. That way, in the event the server isn't accessible via the Web-based GUI, you would still have another option.

Select both components for now and then click Next

 

 

The wizard will then ask you whether you want to create a Start Menu folder for this program. If you want to access JSCAPE MFT Server from the Start Menu, just leave everything as is and then click Next.

 

 

Wait for the progress bar to complete. 

 

 

As soon as it's done, you'll then be presented with some administrative login settings. This would include the IP address of the management host, the management port, REST HTTP IP address, REST HTTP port, administrative username, and administrative password. Take note of the REST HTTP port, as we'll be needing that later when we enable the SFTP service via a web browser. 

Except for the username and password, you might want to leave those settings to their default values. 

Click Next to proceed.

 

 

After that, the system will ask you to enter the maximum memory size it should reserve for this application. The default value is 512 MB, which is all you'll need for now. 

Click Next to proceed.

 

 

Finally, you'll reach the screen indicating the end of the setup wizard. Click the Finish button to finalize the setup process. 

 

 

Creating the SFTP service

Now that you've installed JSCAPE MFT Server, the next step would be to enable the SFTP service. Let's do that through the Web-based administrative interface. If you recall, we asked you to take note of the REST HTTP port. If you didn't change the setting during installation, the default value would be 11880.

Enter http://[host or ip address]:11880 into a web browser and click Enter. 

The host or ip address refers to the hostname or IP address of the machine that's running your newly installed JSCAPE MFT Server. If you're doing this locally, just enter:

http://localhost:11880

On the other hand, if the server is running on another machine with IP address 192.168.100.102, for example, then enter:

http://192.168.100.102:11880

That should bring up the login screen. Enter the admin username. If you simply followed this example, that should be "admin". Enter the admin account's corresponding password. To finally gain access, click the Login button.

 

 

Once inside the administrative interface, the first thing to do would be to add a new domain. Navigate to the Domains tab and then click the Add button to add a new domain. 

 

 

Give the domain a name (e.g. mftserver1) and then click the Next button again.

 

 

Here we are. This is the part you've been waiting for. This is where we enable the server's SFTP service. Expand the Protocol drop-down list and select SFTP/SCP. Notice that, when you expand the list, you'll also see several other file transfer protocols, including: AFTP, AS2, FTP, FTPS, HTTP, HTTPS, OFTP, TFTP, WebDAV, and WebDAVs. 

For now, because we just want to set up a Windows SFTP server, let's just select SFTP/SCP. But at least you know there are other file transfer protocols to choose from. 

Just leave the host IP address as is. The default port number of SFTP is 22. Leave that as well. 

The private key chosen there is just for testing purposes. It should never be used in a production environment. If you want to know where you can change that and what it's for, I suggest you read the article: Setting Up An SFTP Server

Notice too that Authentication is set to password by default. This is the authentication process that the server will use each time a user requests a connection to this Windows SFTP server. Password authentication is just like any regular login. The user is simply asked to enter a username and a corresponding password. 

But it's also possible to select public key authentication or even password AND public key authentication. That last method of authentication, which combines password authentication and public key authentication, is already a two factor authentication process and provides for really strong authentication. We won't go into the details of that here. But if you're looking for more secure ways of authenticating your users, just click those links!

Done here? Click Next to proceed.

 

 

Just click the Next button to on the succeeding screens to accept the default values.

 

 

 

Once you're back at the main screen, you should see your newly created domain under the Domains tab. However, don't celebrate just yet. 

Although you should already have an SFTP server up and running, you won't be able to use it yet. You still need to create a user to login with. 

Select the domain you recently created and click the Edit button. You may also double-click on the domain if you want.

 

 

While you're inside, drop by the Services menu and say "hi!" to your newly created SFTP service sitting there by its lonesome.

 

 

Scroll down that column of menus until you reach the one labeled Users. Click it and then click the Add button.

 

 

Select the Default template and then click OK.

 

 

Enter a Name, login name and password for this user. 

After that, click OK.

 

 

You should then see the newly created user under your Users tab.

 

 

That's it. In our next post, we'll show you how to connect to this Windows SFTP server using that user account through a Windows SFTP client. Stay tuned for that. In the meantime, have a nice day and thanks for reading. 

 

Topics: JSCAPE MFT Server, Managed File Transfer, Tutorials, Secure File Transfer, SFTP