Enabling Passwordless Root SSH for All Nodes - Aster Execution Engine

Aster Instance Installation Guide for Aster-on-Hadoop Only

Product
Aster Execution Engine
Release Number
7.00.02
Published
July 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
cng1496682698441.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
zjc1495153304403
lifecycle
previous
Product Category
Software
  1. Log in as root on the queen.
  2. Verify that the key file works:
    1. Open an SSH session to localhost: # ssh localhost
    2. If you are asked to confirm, type yes.
    3. Press Enter.
    The command should succeed without prompting for a password.
  3. Exit the SSH session: # exit
  4. Make sure the worker nodes are powered on and booted into their OS.
  5. Back on the queen, change the working directory to your home directory: # cd
  6. Copy the key file to each of the Aster instance nodes:
    1. Run this command, specifying the IP address of the node to which you are copying the key: # scp -pr .ssh root@<node-IP>:
    2. If you are asked to confirm, type yes.
    3. Press Enter.
    4. If you are prompted for a password, enter it.
  7. Verify that you can SSH to each worker node without a password. # ssh <queen-IP> # exit
  8. Test the passwordless connections among all nodes:
    1. SSH from each of the nodes to all the other nodes.
    2. If you are asked to confirm, type yes.
    3. Press Enter.
  9. If you wish to do so, you may disable passwordless SSH when you no longer need it (for example, after adding a node, upgrading, and so on).