32

Does Windows Server 2012 R2 have native SFTP support?

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

37

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). It's now available as optional feature on Windows 10 version 1803 and newer. 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.

  • hi, i tested openssh for windows whith that guide and when browsing the server thought winscp with a non admin user , i was able to access some parts of the operating system . is there a way to "jail" or chroot a user in a directory? (for example , i want to have a multi-site hosting server and allows multilple users to access remotely only their site files) thanks – Max May 18 '18 at 11:21
  • 1
    @Max That's well beyond a scope of this question. Please ask a separate question. – Martin Prikryl May 18 '18 at 11:31
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)

protected by Community Oct 13 '16 at 18:33

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.