- Community Home
- >
- Servers and Operating Systems
- >
- ProLiant
- >
- Server Management - Remote Server Management
- >
- How do I DELETE SSH keys with RIBCL XML?
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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!
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP