36

Does Windows Server 2012 R2 have native SFTP support?

I see a role FTP Server but it doesn't say whether this includes SFTP.

Martin Prikryl
  • 7,327
  • 2
  • 36
  • 71
James20
  • 361
  • 1
  • 3
  • 3

2 Answers2

46

Microsoft IIS server does not support SFTP (or SSH) at all, on any version of IIS or Windows.

IIS supports secure FTP (FTPS or FTP over TLS/SSL) though. It's a different (incompatible) protocol than SFTP, but most "FTP" clients support both SFTP and FTPS.

When setting up an FTPS server, make sure you disable plain (unencrypted) FTP!

See (my) guide on Installing Secure FTP Server on Windows using IIS.


Microsoft recently released OpenSSH for Windows (Releases and Downloads). On Windows 10 version 1803 or newer, you already have OpenSSH built-in. On older versions of Windows 10, it can be installed as an optional Windows feature. It can also be manually installed on older versions of Windows.

I have prepared a guide for setting up SSH/SFTP server on Windows using this Microsoft build of OpenSSH.

Martin Prikryl
  • 7,327
  • 2
  • 36
  • 71
21

No. Microsoft offers an FTP over SSL (FTPS) solution but does not currently provide a solution for securing FTP traffic using FTP over SSH (SFTP)

yagmoth555
  • 16,300
  • 4
  • 26
  • 48
  • Thanks for the answer. Would FTP over SSL (FTPS) be covered by the `FTP Server` role? – James20 Dec 03 '14 at 13:59
  • 5
    @James20 Yes. [See this link](https://techontip.wordpress.com/2012/09/07/configure-ftps-server-using-iis/) for a quick guide on how to configure that. – HopelessN00b Dec 03 '14 at 14:01
  • 2
    Just one correction: "FTP over SSH" is different than "SFTP". http://stackoverflow.com/questions/440463/differences-between-sftp-and-ftp-over-ssh – Vladislav Nov 10 '15 at 09:36