Remote Lights-Out Mgmt (iLO 2, iLO, RILOE II) Forum
Showing results for 
Search instead for 
Do you mean 

cpqlocfg.exe and DELETE_SSH_KEY

Go to Solution
Occasional Contributor

cpqlocfg.exe and DELETE_SSH_KEY

The CPQLOCFG documentation refers to the ability to delete a user's SSH keys from iLO via the DELETE_SSH_KEY command. Unfortunately, I get a syntax error on every variation of this command that I attempt. Also, the documentation has what appear to be misprints; the command DEL_USERS_SSH_KEY appears in the XML rather than the expected DELETE_SSH_KEY (I've tried both):

The DELETE_SSH_KEY command deletes any SSH keys that are associated with the USER_LOGIN
from iLO 2. The DELETE_SSH_KEY command is implemented as a subcommand and must appear
within a MOD_USER command block.
This command requires CPQLOCFG.EXE version 2.27 or later.

Can anybody help with this command? I need to delete SSH keys on many iLOs in batch.

Occasional Contributor

Re: cpqlocfg.exe and DELETE_SSH_KEY

Forgot to mention that I'm using cpqlocfg 3.10 on iLO2 2.05.
Honored Contributor

Re: cpqlocfg.exe and DELETE_SSH_KEY

This command was just added to iLO2 version 2.06 which was just released today.

I work for Hewlett Packard

If you feel this was helpful please click the KUDOS! thumb below!
Occasional Contributor

Re: cpqlocfg.exe and DELETE_SSH_KEY

Thanks Oscar, it worked well.

My one suggestion would be to correct the documentation.

Thank you!
//Add this to "OnDomLoad" event