Set up openssh in windows to share resources

Source: Internet
Author: User
Tags ssh server

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

 

Related Article

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.