Hadoop Password-free login (SSH)

Source: Internet
Author: User

Record Save here first

[email protected]. ssh]# ssh-keygen-t rsa-p "
Generating public/private RSA key pair.
Enter file in which to save the key (/ROOT/.SSH/ID_RSA): Id_rsa
Your identification have been saved in Id_rsa.
Your public key had been saved in Id_rsa.pub.
The key fingerprint is:
5c:9a:67:12:49:6d:2d:ce:7e:da:fc:e3:ff:df:e5:58 [email protected]
[email protected]. ssh]# ls
backup Id_rsa id_rsa.pub known_hosts
[email protected]. ssh]# CP id_rsa.pub Authorized_keys
[email protected]. ssh]# ls
Authorized_keys Backup Id_rsa id_rsa.pub known_hosts
[email protected]. ssh]# start-all.sh
Starting Namenode, logging to/usr/local/hadoop/libexec/. /logs/hadoop-root-namenode-hadoop.out
Localhost:starting Datanode, logging to/usr/local/hadoop/libexec/. /logs/hadoop-root-datanode-hadoop.out
Localhost:starting Secondarynamenode, logging to/usr/local/hadoop/libexec/. /logs/hadoop-root-secondarynamenode-hadoop.out
Starting Jobtracker, logging to/usr/local/hadoop/libexec/. /logs/hadoop-root-jobtracker-hadoop.out
Localhost:starting Tasktracker, logging to/usr/local/hadoop/libexec/. /logs/hadoop-root-tasktracker-hadoop.out
[email protected]. ssh]#

Hadoop Password-free login (SSH)

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.