06-25-2009 08:19 PM
Solved! Go to Solution.
06-25-2009 09:46 PM
Read the "HP BladeSystem Onboard Administrator Command Line Interface User Guide"
â ¢ Description:
Adds an SSH key or keys to the Administrator local account. Multiple SSHKEYs can be concatenated
in the string.
o SSHKEY is only available for the Administrator local account
o SSHKEY string is limited to 4KB on Onboard Administrator versions prior to 2.30
o SSHKEY string is limited to 8KB on Onboard Administrator version 2.30 and later
06-26-2009 12:59 PM
I don't see a way to be able to add a user that can log in to the OA via SSH without a password.
06-26-2009 01:05 PM
06-26-2009 06:30 PM
This command is only available in script mode.
07-29-2009 12:17 AM
- 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
paste: your public key
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
The output will look like this: Secure Shell authorized key file replaced.
Type "show sshkey" to confirm: ssh-rsa yFysLPMvP7eLU9DMjIEW0q1+TlIrINTuxI2AV/oR6bYd+pVnfH
02-20-2014 06:10 AM
I'm looking for an automated workflow over SSH for using the ADD SSHKEY command. The problem is the need for newline within the syntax.
Another question: is it possible to add more then one pubkey?