Windows7 Installation OpenSSH

Source: Internet
Author: User

(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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.