4.3.31.1 DEPLOY SSHKEYS

This command configures SSH key-based authentication on all hosts in the Engineered System XML file (es.xml), or the host names specified in the command.

Syntax

DEPLOY SSHKEYS 
   [ PASSWORD=root_password ]
   [ ENABLEPASSWORDLOGIN={ true | false } ]
   [ HOSTNAMES="host1[,host2[,host3 ...]]" ]

Arguments

  • PASSWORD: Optionally specifies the non-default root password for connecting to the hosts to set up SSH key access
  • ENABLEPASSWORDLOGIN: Optionally specifies whether to enable or disable password-based authentication for the root user after SSH key access is set up
  • HOSTNAMES: Optionally specifies the list of host names on which to deploy SSH keys

Usage Notes

  • If the SSH key pairs are not located in the OEDA WorkDir, then the command also generates them.

  • If the HOSTNAMES argument is not specified, then the command acts on the currently loaded Engineered System XML file.

Example 4-28 Deploy SSH keys for all hosts of an XML file

oedacli> LOAD FILE NAME=es.xml
SUCCESS - file loaded
edacli> DEPLOY SSHKEYS ENABLEPASSWORDLOGIN=false

Example 4-29 Deploy SSH keys for specified hosts

oedacli> DEPLOY SSHKEYS ENABLEPASSWORDLOGIN=false PASSWORD="password" HOSTNAMES="dbm01adm05.example.com,dbm01adm06.example.com"