- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Remote Server Management
- >
- How do I DELETE SSH keys with RIBCL XML?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-22-2009 07:44 AM
тАО05-22-2009 07:44 AM
How do I DELETE SSH keys with RIBCL XML?
I have imported bad keys via hponcfg xml IMPORT_SSH_KEY command. I want to be able to script a removal (I have 700 servers).
I found that if I deleted the account associated with the keys, it would also delete the keys themselves BUT I still get an error message that the slots are full:
ERROR : STATUS= 0x005A MESSAGE= No available slot for additional SSH key.Firmware Revision = 1.70 Device type = iLO 2 Driver name = hp_ilo Script failed
When I go to the ILO https management page and go to security/SSH keys page, it's listed as none in the slots and then IMPORT_SSH_KEYS works. So I guess what happens is that the account deletion drops the keys from the slots, but the ILO isn't aware of this until you actually look at that page.
I don't want to have to log into 700 servers' homepages to "refresh" the ilo. I have tried a number of things: resetting the ilo, trying to do a "GET" of all settings to see if that would refresh the "slots available" variable, and doing a recreate of the account. None of them worked. I went to the documentation and there's no XML command for deleting individual keys or even downloading them (which may work).
Any suggestions of pointers to a paper with ALL of the available commands for the ILO? Does such a command exist?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2011 01:20 AM
тАО04-01-2011 01:20 AM
Re: How do I DELETE SSH keys with RIBCL XML?
When we import the same key multiple times, eventually the following error occurs:
ERROR : STATUS= 0x005A
MESSAGE= No available slot for additional SSH key.DEBUG: Firmware Revision = 1.78 Device type = iLO 2 Driver name = hpilo
How may I delete all SSH keys or remove a specific one via RIBCL?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2011 07:06 AM
тАО04-01-2011 07:06 AM
Re: How do I DELETE SSH keys with RIBCL XML?
I will formally request the dev team to add a command to the next release.
__________________________________________________
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2011 09:16 AM
тАО06-14-2011 09:16 AM
Re: How do I DELETE SSH keys with RIBCL XML?
I need the same remove_ssh_key function. (100) server.
Regards.
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-14-2011 10:53 AM
тАО06-14-2011 10:53 AM
Re: How do I DELETE SSH keys with RIBCL XML?
__________________________________________________
If you feel this was helpful please click the KUDOS! thumb below!