Under Linux, SFTP is installed by default and Windows is gone. Online search data found that the more useful is freesshd, the free version of the best use.
1, download: http://www.freesshd.com/?ctt=download, download only FreeSSHd.exe.
2, Installation: All the way to the default
3, set: (online information is not complete, encountered the problem searched for a long time also did not have a detailed information, so write a blog record)
In particular, this is set to the password login method, instead of the key method, because the recent work in doing SFTP password non-interactive login
A, Users:
B, SSH, address select Local address
C, SFTP Select the default path for the server
D, authentication in Password authentication column to select Required, otherwise the client connection is always wrong to enter a password
E, server status in run SSH servers
There are a few problems here.
1, hint private key not installed
Install If the installation path is not a C drive, or the installation process prompted to generate a private key you did not do, please see the following installation directory Freesshd is not the only Freesshd,unins 4 files
If installed in the C drive, when the private key installation will be more than these files:
2, you will encounter the following problems
Please kill FreeSSHDService.exe in the process and run with administrator privileges in the installation directory Freesshdservice
OK, you can finally get up.
Setting up an SFTP server on Windows--freesshd