SSH keyless key between servers

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.