Reference Guide

sshpkauth
Description Enables you to upload and manage up to six (6) different SSH
public keys. You can upload a key file or key text, view keys, or
delete keys.
racadm sshpkauth -i svcacct -k <key index> -p
<privilege> -t <PK key text>
racadm sshpkauth -i svcacct -k <key index> -p
<privilege> -f <PK key file>
racadm sshpkauth -v -i svcacct -k <key index>
racadm sshpkauth -d -i svcacct -k <key index>
NOTE:
For DSA keys greater than 2048, use the following racadm
command. CMC accepts RSA keys up to key strength 4096, but
the recommended key strength is 1024.
racadm -r 192.168.8.14 -u root -p calvin
sshpkauth -i svcacct -k 1 -p 0xfff -f dsa_2048.pub
Synopsis
racadm sshpkauth
Input
-i Index for the user. <svcacct> is the Index for CMC.
-k index from 1-6 (or all for -v / -d options) to assign the PK
key being uploaded.
-p privilege level to give to user for this PK key.
-t Key text for the PK key.
-r Specifies the controller’s remote IP address.
-u Specifies the user name.
-f file containing key text to upload.
NOTE: This option is supported only on the remote
interface(s).
-v - View privilege and key text.
-d - Delete key and privilege for the index provided.
Examples :
View all keys
racadm sshpkauth -i svcacct -k all -v
Delete all keys
racadm sshpkauth -i svcacct -k all -d
Upload key at index 2 using text option
racadm sshpkauth -i svcacct -k 2 -p 0xfff -t "key text"
Upload key at index 1 using file upload option.
racadm sshpkauth -i svcacct -k 1 -p 0xfff -f idrsa.pub
106