[Record] cwrsync (rsync for Win32) SSH encrypted local copy

Source: Internet
Author: User
Tags openssh server rsync
Rsync is a useful component on the Unix-like platform.
I have seen many people who want to use this tool on Win32,
It is a pity that most of my discussions are over the old age, and I feel that it is a waste of time, so I am here to sort it out and accept it.

I have found cwrsync, which can be used only for security purposes. If you want to learn it, refer to the following courses.

Lower Region
Click Download cwrsync server in the selection area! You can. (The one on the right in the middle of the plane. Do not try again)

After the dig command is completed, install the command in the EXE file.

Select OpenSSH server during security check so that the Unix-like platform can use SSH authentication to upload copies to Win32.

How can I activate it after the security protection is completed?
Please start/program set/cwrsync server/05. Start a Unix BASH Shell

A cmd window is displayed after the line is completed, but the character line is $.

Please refer to the following instructions/bin/activate-user.sh

When the system is running, the following error occurs: Do you want to activarte A (l) ocal or a (d) omain user [L/D]?

At this time, press L (small limit L)

At the bottom of the page, the following message is displayed: enter a user account for activation:

Administrators or other administrators can be logged in.
Then, the next response message can jump directly by pressing enter.

Next, select "service" in the "TV management" and change "opensshd" to "automatic and dynamic.
Change "rsyncserver" to "automatic" and "dynamic.

At this time, you can use the SSH administrator @ Win32 host to log on to another host, such as Linux.

So how can I log on without logging in to the password center?

Please refer to rsync + SSH -- enable the server to automatically encrypt local hosts

Set and upload the authorized_keys2 generated on the master machine to
C:/program files/cwrsyncserver/home/Administrator/. SSH
Bottom.

Then, commands can be run on Linux or other UNIX-like hosts.

Sort routine sort: rsync-avlr -- delete-e SSH Administrator@192.168.0.50:/cygdrive/C/progra */Apache */tomcat */webapps/A */root/backup/webapps

Download all the starting things of webapps in Tomcat @@

In fact, the * scheme on the router interface is an alternative solution because the long queue name cannot be directly merged into the router interface ~ 1. There is a problem with direct ingress.
C In cygdrive is the c slot on Win32.

This example can also be used in Win32 to Win32 versions.

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.