Get the App
SLTechnology News&Howtos  ›  Network Security  › 

The use and encryption process of rsync under Windows

Shulou Source: shulou.com Published: 2022-06-01 08:28:43 10月03日 Update

Today, the editor will bring you an article on the use and encryption process of rsync under Windows. The editor thinks it's pretty good, so I'll share it for you as a reference. Let's follow the editor and have a look.

Project background introduction:

Customers need to make a backup environment in different places, including database and file data backup. The basic environment has been built in advance and passed the test.

Overview of the files mainly used by the tool

The rsync_client and rsyncd files are packaged in advance and contain the corresponding tools and some bat scripts

Openssh is an open source project that can be downloaded from the official chain (https://github.com/PowerShell/Win32-OpenSSH/releases)

Configuration and usage process

1. Upload rsyncd/rsync_client to the server and the client respectively

2. Upload openssh from the server and decompress it to the / program file directory

3. Encrypt (perform install-shd.bat installation) configuration files are installed in C:\ Programdata by default

4. Modify sshd profile port to enable 8703, delete group profile (can not be modified, personal habit)

5. The client generates a pair of keys and adds the public key to the server authorized_keys

6. Start the server openssh

7. The client runs synchronization

8. Create a .bat file

9. Create a timing synchronization task

Rsync.bat

C:\ rsync_client\ bin\ rsync.exe / cygdrive/d/-aAH-- numeric-ids-- safe-links-- partial-- quiet-- rsync-path=C:\ rsyncd\ bin\ rsync.exe-e'"C:\ rsync_client\ bin\ ssh.exe"-p 8703-I C:\ rsync_client\ home\ Administrator\ .ssh\ id_rsa-T-x-o Compression=no-o StrictHostKeyChecking=no' user@host:/cygdrive/d/

These are the details of the use and encryption process of rsync under Windows. Have you gained anything after reading it? If you want to know more about it, you are welcome to follow the industry information!

Tags: File customer service configuration process encryption backup client content tools data environment project synchronization good for this personal task public key foundation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Tech Info Shulou Technology Microsoft Apple