Originally, this kind of purpose is very rare. Sharing between windows itself has its own protocol, and sharing between linux and windows is not silly. B wants to install it in windows and how to install it in linux it is convenient, but it is true that such silly things have been met by me, the company does not know what is going on, and may limit the sharing between machines. Therefore, for windows, the sftp protocol is also required. to transmit,
In short, cygwin is used to install openssh, and then winscp is used for sharing,
Install cygwin first,
Open the http://cygwin.com/and download the installation here
As prompted,
Select Install from Internet from Network
Then, select the installation path of cygwin and the location of the downloaded plug-in.
Then, select the networking method, and connect directly.
Then, select the plug-in, enter openssh in the search box, select the relevant winter and winter, and then let cygwin's installation program finish these tasks step by step,
Then it's about configuring openssh.
Enter the ssh-host-config command in the cygwin command line.
All the answers are yes,
Enter the value of CYGWIN for the daemon: []
At this time, write ntsec
Then I will ask: Do you want to use a different name? (Yes/no)
At this time, write no, and then ask if you want to create an account, select yes
I will ask you to enter your password and enter your password. It will ask you to re-enter your password and the configuration is complete. Note that the password entered here is not the ssh Login Password,
Then start the sshd service
Net start sshd
Later, you can use winscp and other software for connection. Note that the connection user name and password must be the windows user name and the corresponding password, such as Administrator
References:
Setup an SSH Server in Vista
Http://www.petri.co.il/setup-ssh-server-vista.htm
Setting up an Open SSH Server (sshd) on Windows
Http://www.scottmurphy.info/open-ssh-server-sshd-cygwin-windows
Use cygwin/openssh to build an SSH server in windows
Http://www.360doc.com/content/11/0319/14/3804236_102576048.shtml