Recently engaged in Hadoop all involved master to slave landing, in order to simplify all the master access to all slave are configured as a no-login method, specific steps:
1. Create the key on the master machine:
Ssh-keygen-t Rsa-p '
The public key will be generated under the. SSH folder: id_rsa.pub; key: Id_rsa
2. Add the public key to the Authorized_keys:
Cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
3. Copy the Authorized_keys into the slave:
SCP ~/.ssh/authorized_keys slave1:~/.ssh/
Because I did the machine name and IP mapping on master, all slave1 can use the IP address to replace
4, login slave1 machine modify. SSH and Authorized_keys permissions (required, otherwise enter the password):
chmod. SSH
chmod Authorized_keys
5, this can be achieved in the master Access slave1 password-free login.
Satellite monitoring system for star-pass vehicle