(Transferred from: http://blog.sina.com.cn/s/blog_4a0a8b5d01015b0n.html)
OpenSSH is very old, so ...
At first just because openssh boot not, just use the MOBASSH, it configuration simple compatibility good, the disadvantage is secretly set up an account, let me feel very uncomfortable. So I decided to put the OpenSSH in a good configuration. After inspection, found that the OpenSSH installation has been added to the environment variables, so the command line window can be directly input to execute SSH chmod and so on, but when I input LS, the hint is missing cygintl-2.dll, so this reminds me to change the search terms. Finally solve the problem.
0.:
Http://sourceforge.net/projects/sshwindows/files/OpenSSH for Windows-release/3.8p1-1 20040709 build/ Setupssh381-20040709.zip/download
1. Default installation
2. Fill in Cygintl-2.dll and cygwin1.dll
Download: Http://samanthahalfon.net/resources/cygwin_includes.zip
Copy them to the C:\Program Files (x86) \openssh\bin directory and overwrite them if prompted, otherwise you will be prompted not to start the OPENSSHD service
3. Start the installation
CD "C:\Program Files (x86) \openssh\bin"
Mkgroup-l >>. \etc\group generates a group
Mkpasswd-l [-u <username>] >>. \etc\passwd
Like what:
Mkpasswd-l-u administrator >>. \ETC\PASSWD this generates the passwd file for the user name Administrator, which invokes the system user name and password
4 Giving permission
Cd.. \etc
.. \bin\chown Mxio *
.. \bin\chmod 600 *
5. Start the OPENSSHD service
net start opensshd
No problem will prompt start success
6. Test the connection
SSH [email protected]
(EXT) Windows7 installation OpenSSH