- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Cannot add SSH key to OA.
BladeSystem - General
1752579
Members
3156
Online
108788
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
08-16-2010 05:31 AM
08-16-2010 05:31 AM
Cannot add SSH key to OA.
Hi all,
I am having trouble adding an SSH key to the OA.
I've been attempting the format:
add sshkey *MARK* ssh-rsa AAA..key root@... *MARK*
This command hangs, any help would be appreciated.
I am having trouble adding an SSH key to the OA.
I've been attempting the format:
add sshkey *MARK* ssh-rsa AAA..key root@... *MARK*
This command hangs, any help would be appreciated.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2010 04:54 AM
08-17-2010 04:54 AM
Re: Cannot add SSH key to OA.
Make sure:
SSHKEY is only available for the Administrator local account
SSHKEY works only in script mode
SSHKEY string is limited to 4KB on Onboard Administrator versions prior to 2.30
SSHKEY string is limited to 8KB on Onboard Administrator version 2.30 and later
I haven't used the command but found this as the last enry in another thread
Jul 29, 2009 08:17:44 GMT Unassigned
--------------------------------------------------------------------------------
For others that may be confused about the "add sshkey" command to be able to SSH without a password I have figured it out. Follow these instructions:
- SSH to the enclosure
- type: set script mode on
- The next part is not straight forward on the instructions given on the console for using the "add sshkey" command. Perform it like this:
type: add sshkey
hit enter
paste: your public key
hit enter
type:
hit enter
Next, configure your SSH Client (Putty) session for Administrator@enclosure
Configure your private key for the session. In Putty it's at Category|Connection|SSH|Auth
Example of the add sshkey command:
set script mode on
add sshkey userID
ssh-rsa yFysLPMvP7eLU9DMjIEW0q1+TlIrINTuxI2AV/oR6bYd+pVnfHwT+rZMJtm/4T1phJc= rsa-key-20090728
userID
The output will look like this: Secure Shell authorized key file replaced.
Type "show sshkey" to confirm: ssh-rsa yFysLPMvP7eLU9DMjIEW0q1+TlIrINTuxI2AV/oR6bYd+pVnfHwT+rZMJtm/4T1phJc= rsa-key-20090728
Original thread
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1282049615147+28353475&threadId=1350932
SSHKEY is only available for the Administrator local account
SSHKEY works only in script mode
SSHKEY string is limited to 4KB on Onboard Administrator versions prior to 2.30
SSHKEY string is limited to 8KB on Onboard Administrator version 2.30 and later
I haven't used the command but found this as the last enry in another thread
Jul 29, 2009 08:17:44 GMT Unassigned
--------------------------------------------------------------------------------
For others that may be confused about the "add sshkey" command to be able to SSH without a password I have figured it out. Follow these instructions:
- SSH to the enclosure
- type: set script mode on
- The next part is not straight forward on the instructions given on the console for using the "add sshkey" command. Perform it like this:
type: add sshkey
hit enter
paste: your public key
hit enter
type:
hit enter
Next, configure your SSH Client (Putty) session for Administrator@enclosure
Configure your private key for the session. In Putty it's at Category|Connection|SSH|Auth
Example of the add sshkey command:
set script mode on
add sshkey userID
ssh-rsa yFysLPMvP7eLU9DMjIEW0q1+TlIrINTuxI2AV/oR6bYd+pVnfHwT+rZMJtm/4T1phJc= rsa-key-20090728
userID
The output will look like this: Secure Shell authorized key file replaced.
Type "show sshkey" to confirm: ssh-rsa yFysLPMvP7eLU9DMjIEW0q1+TlIrINTuxI2AV/oR6bYd+pVnfHwT+rZMJtm/4T1phJc= rsa-key-20090728
Original thread
http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1282049615147+28353475&threadId=1350932
No support by private messages. Please ask the forum!
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP