4.3.31.2 GENERATE SSHKEYS
This command generates SSH key pairs for all hosts in the Engineered System
XML file (es.xml
), or the host names specified in the command. The keys are
saved in the OEDA
WorkDir
.
Syntax
GENERATE SSHKEYS [ HOSTNAMES="host1[,host2[,host3 ...]]" ]
Arguments
HOSTNAMES
optionally specifies the list of host names for which to generate SSH keys.
Usage Notes
-
If the
HOSTNAMES
argument is not specified, then the command acts on the currently loaded Engineered System XML file.
Example 4-30 Generate SSH keys for all hosts of an XML file
oedacli> LOAD FILE NAME=es.xml
SUCCESS - file loaded
edacli> GENERATE SSHKEYS
Creating SSH Key Pairs for hosts [dbm01adm01.example.com, dbm01adm02.example.com, ...]...
Generated SSH Keys for [dbm01adm01.example.com, dbm01adm02.example.com, ...]
Example 4-31 Generate SSH keys for specified hosts
oedacli> GENERATE SSHKEYS HOSTNAMES="dbm02adm05.example.com,dbm02adm06.example.com"
Creating SSH Key Pairs for hosts [dbm02adm06.example.com, dbm02adm05.example.com]...
Generated SSH Keys for [dbm02adm06.example.com, dbm02adm05.example.com]
Parent topic: SSHKEYS