This section says the SSH
SSH manufacturing private and public keys
The private key is the key
The public key is a lock
Distribute the public key to each Linux server you want to log on to
#ssh-keygen-t DSA
Using this command will generate a pair of keys in this machine
Private key ID_DSA
Public Key Id_dsa.pub
Put the public key on the server you want to log on to
With the command
#ssh-copy-id-i id_dsa.pub [email protected]
Put the public key on the server and start verifying it.
Command
#ssh [email protected]
In fact, you can also use other commands to log in as
#scp-p22-r/tmp/oldboy [email protected]
There is also a rsync which is a command also a service
There are also two tools Cfengine/puppet
Central distribution server is important because there are keys on it that can open all the servers
20170117 Old Boys Linux combat operations Training-ssh key password-free authentication distribution, management, backup actual combat 01