The server and the server perform scp. The password authentication requires a lot of inconvenience and security risks. The ssh certificate authentication can be easily used for backup and copy, which improves the security performance.
The method is as follows: on server A: create a key [root@localhost ~]# ssh-keygen -t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/root/. Ssh/id_rsa):Created directory '/root/.ssh'.Enter passphrase (empty for no passphrase):Enter same passphrase again:Your identification has been saved in /root/.ssh/id_rsa.Your public key has been saved in /root/.ssh/id_rsa.pub.The key fingerprint is:
Then execute scp id_rsa.pub ip:.ssh/authorized_keyscat id_rsa.pub >> authorized_keys copy to server B, then server Repeat the operation of A on B to complete the two-way authentication. Note: If there is no .ssh under root, please create one.
Generally speaking, after installing ubuntu, the centralized display driver has been installed. Howe
Understanding the difference between common mode and differential mode signals is critical to unders
Use httpry to sniff HTTP traffic under Linux Tutorial Sometimes you want to sniff HTTP traffic for
As a Linux enthusiast, after several determinations, he gave up the dual system and installed Linux
Linux paging mechanism started (X86)
Xauth: (stdin):1: bad display name "LSPPC-Lenny:1" in "ad
Mysql installation considerations, five reasons for installation failure
Tiny4412 assembly water light code, Tiny4412 bare metal LED operation
Explanation: When a segmentation error occurs, how does the Linux system generate the core file
Linux Squid installation and debugging several commonly used commands introduced
Manually configure the IP address of linux (centos), DNS, gateway
How to mount ntfs file system partition under linux
Five kinds of Windows7 suspended animation solutions
Enable Windows7 Super Administrator administrator account login
Price increases into Microsoft's helpless move
How to completely remove or add third-party input methods in Windows7 system
How does the WinXP system reset network commands?
Win7 system uses computer housekeeper to remove software usage records
Win10 Mobile Preview Edition 10512 Express Edition Update Starts Push
Protection system security, prevention of network bombs four strokes
Win10 error correction: blue screen error 0x0000003B solution
How to reset the Win8/Win8.1 screenshot to zero or automatically save the desktop?