Configuring Passwordless SSH for the prestoadmin User - Presto on Teradata Appliance for Hadoop

Presto on Teradata Appliance for Hadoop 6 Installation, Configuration, and Upgrade Guide

Product
Presto on Teradata Appliance for Hadoop
Release Number
157t
Published
February 2017
Language
English (United States)
Last Update
2018-04-17
dita:mapPath
jpl1484678832656.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
jpl1484678832656
Product Category
Open Source
Using the previously recorded host names of the coordinator and worker nodes, use the following steps to set up passwordless SSH for the prestoadmin user.
  1. On the prestoadmin node, log in as prestoadmin. su – prestoadmin
  2. Set up passwordless SSH (use two single quotation marks in the command line).
    1. ssh-keygen -t rsa -P '' -f ~/.ssh/id_rsa
    2. cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys The cp command above is used during a fresh install. The cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys command string is used to preserve existing authorized keys added during an upgrade.
    3. chmod 600 ~/.ssh/authorized_keys
  3. Copy the authorized keys to the coordinator and worker nodes, one node at a time. scp -rp ~/.ssh <host name>:~
    The scp options -rp preserve the permissions on the directory and files of the target nodes.