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.

| improve this question | | | | |
44

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.

| improve this answer | | | | |
  • 1
    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)

| improve this answer | | | | |

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