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
-
Log in as root on the queen.
-
Verify that the key file works:
-
Open an SSH session to localhost:
# ssh localhost
-
If you are asked to confirm, type yes.
-
Press Enter.
The command should succeed without prompting for a password.
-
Exit the SSH session:
# exit
-
Make sure the worker nodes are powered on and booted into their OS.
-
Back on the queen, change the working directory to your home directory:
# cd
-
Copy the key file to each of the Aster instance nodes:
-
Run this command, specifying the IP address of the node to which you are copying the key:
# scp -pr .ssh root@<node-IP>:
-
If you are asked to confirm, type yes.
-
Press Enter.
-
If you are prompted for a password, enter it.
-
Verify that you can SSH to each worker node without a password.
# ssh <queen-IP>
# exit
-
Test the passwordless connections among all nodes:
-
SSH from each of the nodes to all the other nodes.
-
If you are asked to confirm, type yes.
-
Press Enter.
-
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).