HP iLO 3 Scripting and Command Line Guide
Mxagentconfig makes an SSH connection to iLO, authenticates with a user name and password,
and transmits the necessary public key. The iLO firmware stores this key as a trusted SSH client
key.
Importing SSH keys from PuTTY
The public key file format generated by PuTTY is not compatible with iLO 3. The following example
illustrates, a PuTTY generated public key file:
---- BEGIN SSH2 PUBLIC KEY ----
Comment: "Administrator"
AAAAB3NzaC1yc2EAAAABJQAAAIB0x0wVO9itQB11o+tHnY3VvmsGgwghCyLOVzJl
3A9F5yzKj+RXJVPxOGusAhmJwF8PBQ9wV5E0Rumm6gNOaPyvAMJCG/l0PW7Fhac1
VLt8i5F3Lossw+/LWa+6H0da13TF2vq3ZoYFUT4esC6YbAACM7kLuGwxF5XMNR2E
Foup3w==
---- END SSH2 PUBLIC KEY ----
Note that this sample key conforms to RFC 4716 (SSH Public Key File Format). The iLO interface
supports two key formats, OpenSSH 2 and RFC 4716. A third format is supported only in scripting
(see “IMPORT_SSH_KEY” (page 106)).
The iLO firmware expects public key file information on a single line. You can use the PuTTY Key
Generator utility (puttygen.exe) to generate and properly format a key file for import into iLO.
To import SSH keys to iLO from PuTTY:
1. Double-click the PuTTY Key Generator icon to launch the utility.
2. Select SSH-2 DSA.
3. Click Generate.
On the key area, move the mouse around to generate the key. You must keep moving the
mouse until the key generation process completes.
152 Secure Shell










