Owner's Manual
94 Using the RACADM Command Line Interface
RACADM Syntax Notes for CMC
When using the racadm sshpkauth command, ensure the following:
•For the
–i
option, the parameter must be
svcacct
. All other parameters
for
-i
fail in CMC. The svcacct is a special account for public key
authentication over SSH in CMC.
• To log in to the CMC, the user must be
service
. Users of the other
categories do have access to the public keys entered using the
sshpkauth
command.
Viewing the Public Keys
To view public keys that you have added to the CMC, type:
racadm sshpkauth –i svcacct –k all –v
To view just one key at a time, replace all with a number from 1 – 6. For
example, to view key 2, type:
racadm sshpkauth –i svcacct –k 2 –v
Adding the Public Keys
To add a public key to the CMC using the file upload -f option, type:
racadm sshpkauth –i svcacct –k 1 –p 0xfff –f <public
key file>
NOTE: You can only use the file upload option with remote RACADM. For more
information, see "Accessing RACADM Remotely" on page 77 and subsequent
sections.
For public key privileges, see Table 3-1 in the Database Property chapter of
RACADM Command Line Reference Guide for iDRAC6 and CMC.
To add a public key using the text upload option, type:
racadm sshpkauth –i svcacct –k 1 –p 0xfff –t “<public key
text>”