Previous Topic

Next Topic

IMPORT_SSH_KEY

The IMPORT_SSH_KEY command imports a SSH_KEY and associated iLO 3 user name into iLO 2. This command requires CPQLOCFG version 2.27 or later.

After generating an SSH key using ssh-keygen and creating the key.pub file, you must perform the following:

  1. Locate the key.pub file and insert its contents between "-----BEGIN SSH KEY----" and "-----END SSH KEY-----". The file begins with the text ssh-dss or ssh-rsa.
  2. At the end of the key, append a space and the name of a valid iLO 3 user name as displayed on the Modify User page. For example: xxx_some text_xxx ASmith.

The user name is case-sensitive and must match the case of the iLO 2 user name to associate the SSH key with the correct user.

Example:

<RIBCL VERSION="2.0">

<LOGIN USER_LOGIN="adminname" PASSWORD="password">

<RIB_INFO MODE="write">

<IMPORT_SSH_KEY>

-----BEGIN SSH KEY-----

ssh-dss ContentOfYourSSHKeyBALftnNE12JR8T8XQqyzqc1tt6FLFRXLRM5PJpOf/IG4hN45+x+JbaqkhH+aKqFjlfO1NjszHrFN26H1AhWOjY2bEwj2wlJzBMAhXwnPQelQsCnJDf+zCzbDn+5Va86+qWxm0lsDEChvZPM6wpjkXvHwuInjxTzOGQTq++vmYlo1/AAAAFQC1MFaZjE995QhX9H1DaDzpsVTXvwAAAIA6ec/hAkas2N762jtlHvSuvZaQRzu49DOtjXVIpNdJAhTC8O2505PzkGLf5qhrbDnusclCvoH7DuxyHjeOUVxbC5wFQBcGF4VnpYZ8nGQGt9TQ0iUV+NRwn4CR5ESoi63zTJIvKIYZDT2ISeXhF2iU6txjZzdeEm7vQz3slaY3dgAAAIAQ46i6FBzJAYXziF/qmWMt4y6SlylOQDAsxPKk7rpxegv8RlTeon/aeL7ojb9GQ2xnEN5gobaNZxKz2d4/jwg3+qgTDT6V1G+b7+nEI/XHIc717/7oqgiOv4VE3WxN+HE9JWsv2jwUpAzRGqJOoojRG/CCru0K+jgTOf/di1o0sw== ASmith

-----END SSH KEY-----

</IMPORT_SSH_KEY>

</RIB_INFO>

</LOGIN>

</RIBCL>