HP iLO 3 Scripting and Command Line Guide

IMPORT_SSH_KEY parameters
None
IMPORT_SSH_KEY runtime errors
The possible IMPORT_SSH_KEY error messages include:
RIB information is open for read-only access. Write access is
required for this operation.
Duplicate of existing SSH key.
Invalid SSH key data.
There is no user name or the user name appended to SSH key does not
exist.
SSH key is too large for storage space.
DIR_INFO
The DIR_INFO command can only appear within a LOGIN command block. When the command
is parsed, it reads the local directory information database into memory and prepares to edit it.
Only commands that are DIR_INFO type commands are valid inside the DIR_INFO command
block. The DIR_INFO command generates a response that indicates to the host application whether
the database was successfully read or not. If the database is open for writing by another application,
then this call fails.
DIR_INFO requires the MODE parameter with a value of read or write. MODE is a specific string
parameter with a maximum length of 10 characters that specifies what you intend to do with the
information.
Write mode enables both reading and writing of iLO information. Read mode prevents modification
of the iLO information.
For example:
<DIR_INFO MODE="read">
……… DIR_INFO commands ……
</DIR_INFO>
GET_DIR_CONFIG
The GET_DIR_CONFIG command requests the respective iLO directory settings. For this command
to parse correctly, the GET_DIR_CONFIG command must appear within a DIR_INFO command
block, and DIR_INFO MODE can be set to read or write.
For example:
<RIBCL VERSION="2.0">
<LOGIN USER_LOGIN="adminname" PASSWORD="password">
<DIR_INFO MODE="read">
<GET_DIR_CONFIG/>
</DIR_INFO>
</LOGIN>
</RIBCL>
GET_DIR_CONFIG parameters
None
GET_DIR_CONFIG runtime errors
None
DIR_INFO 107