Build an sftp server on windows and an sftp Server
In linux, sftp is installed by default, and Windows does not exist. Freesshd is a useful method for searching materials on the Internet. It is the best in the free version.
1, download: http://www.freesshd.com /? Ctt = download, only downloadFreeSSHd.exe is enough.
2. Installation: by default
3. Settings: (incomplete information on the Internet, no detailed information has been found for a long time, so I wrote a blog record)
In particular, the password login mode is set here, instead of the key method, because the sftp password is not interactive login in recent work.
A, Users:
B, SSH, select the local address
C. Select the default server path in sftp.
D. In Authentication, select Required in the Password authentication column. Otherwise, the Password entered during client connection is always incorrect.
E. run ssh servers in server status
Several problems will be encountered here
1. The private key is not installed.
If the installation path is not a C drive during installation, or the installation process prompts you to generate a private key, but you didn't do it. Please check whether there are only freeSSHd and unins files in the following installation directory: FreeSSHD
If the private key is installed on the drive C, the following files will be added when the private key is installed:
2. You may encounter the following problems:
Go to the process to kill FreeSSHDService.exe, and run FreeSSHDService as an administrator in the installation directory.
OK, you can finally get up