1 Open No key
To configure HDFs, you first have to configure the non-key between the machines. We are here for convenience, the two-way non-key between the machine is configured.
(1) Generate RSA key information
SSH-KEYGEN-T RSA
All the way to the return until a graphical structure is generated, the RSA private key ID_RSA and the public key id_rsa.pub are created in the/home/user/.ssh directory.
(2) Copy the SSH certificate public key of all machine nodes to the/home/user/.ssh/authorized_keys file, three machines are the same.
(3) switch to the root user, modify the/etc/ssh/sshd_config file, configure:
Rsaauthentication yespubkeyauthentication yesauthorizedkeysfile . Ssh/authorized_keys
(4) Restart SSH services: Service sshd restart
(5) using the SSH service, Telnet:
SSH configuration succeeded.
[1]. hadoop2.3+hive0.12 Cluster Deployment http://www.cnblogs.com/Scott007/p/3614960.html
SSH keyless key between servers