Install Win32 OpenSSH and Enable Public Key Authentication
Setup of a SFTP server is much more complicated than FTPS. To have a full featured SFTP server, OpenSSH seems to be the only option. The original OpenSSH is for Unix only. Fortunately Win32 OpenSSH was recently released by Microsoft though for testing only. Here I use SFTPServer as SSH Server while SFTPClient as SSH client. 1. Server side Installation C:\Program Files (x86)\OpenSSH>net start sshd https://github.com/PowerShell/Win32-OpenSSH/wiki/Install-Win32-OpenSSH This tutorials works. Note 1. Generation and Use of Host Keys Host keys are generated by .\ssh-keygen.exe -A. Host key are stord in C:\Program Files (x86)\OpenSSH on server. http://man7.org/linux/man-pages/man1/ssh-keygen.1.html -A For each of the key types (rsa1, rsa, dsa, ecdsa and ed25519) for which host keys do not exist, generate the host keys with the default key file path, an empty passphrase, default bits for the ke...