HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Server Management - Remote Server Management
cancel
Showing results for 
Search instead for 
Did you mean: 

cpqlocfg.exe and DELETE_SSH_KEY

 
SOLVED
Go to solution
Michael Usner
Occasional Contributor

cpqlocfg.exe and DELETE_SSH_KEY

Hi,
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):


DELETE_SSH_KEY
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.
Example:











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

Thanks,
Mike
3 REPLIES
Michael Usner
Occasional Contributor

Re: cpqlocfg.exe and DELETE_SSH_KEY

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

Re: cpqlocfg.exe and DELETE_SSH_KEY

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



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

Re: cpqlocfg.exe and DELETE_SSH_KEY

Thanks Oscar, it worked well.

My one suggestion would be to correct the documentation.

Again,
Thank you!