In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Background introduction of rsync usage and encryption process under Windows:
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/
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.