7.00.02 - Generating a New SSH Key - Aster Execution Engine

Aster Instance Installation Guide for Aster-on-Hadoop Only

Aster Execution Engine
July 2017
  1. Log in as root on the node where you want to generate the SSH key. This could be the queen or another node.
  2. Execute this command to generate a new key: # ssh-keygen -t dsa
  3. Press Enter to accept the default directory for the location where the key will be saved.
    Enter file in which to save the key (/root/.ssh/id_dsa):
    Press [Enter] key
  4. Press Enter when prompted for a passphrase.
    The installation will fail if you create a passphrase.
    Enter passphrase (empty for no passphrase): Press [Enter] key
    Enter same passphrase again: Press [Enter] key
    Your identification has been saved in /root/.ssh/id_dsa.
    Your public key has been saved in /root/.ssh/id_dsa.pub.
    The key fingerprint is:
    04:be:15:ca:1d:0a:1e:e2:a7:e5:de:98:4f:b1:a6:01 root@auser-queen
  5. Execute this command to change to the directory where your key file was created: # cd .ssh
  6. Execute this command to copy your DSA key file to authorized_keys to make it an SSH authorized key: # cat id_dsa.pub >> authorized_keys
  7. Execute one of these commands to change the permissions on the authorized key file:
    • # chmod 600 authorized_keys
    • # chmod og-rwx authorized_keys
  8. Proceed with one of these options: