Synopsis
Input
Examples :
•
Upload an invalid key to iDRAC User 2 in the first key space using a string:
$ racadm sshpkauth -i 2 -k 1 -t "This is invalid key
Text"
ERROR: Key text appears to be corrupt
•
Upload a valid key to iDRAC User 2 in the first key space using a file:
$ racadm sshpkauth -i 2 -k 1 -f pkkey.key
Key file successfully uploaded.
Remote RACADM:
racadm sshpkauth -i <2 to 16> -k <1 to
4> -f <filename>
racadm sshpkauth -i <2 to 16> -k <1 to
4> -t
<key-text>
Telnet/ssh/serial RACADM:
racadm sshpkauth -i <2 to 16> -k <1 to
4> -t
<key-text>
View
The view mode allows the user to view a key specified by
the user or all keys.
racadm sshpkauth -i <2 to 16> -v -k <1
to 4>
racadm sshpkauth -i <2 to 16> -v -k all
Delete
The delete mode allows the user to delete a key specified
by the user or all keys.
racadm sshpkauth -i <2 to 16> -d -k <1
to 4>
racadm sshpkauth -i <2 to 16> -d -k all
racadm sshpkauth
user index > - Index for the user. < user index >
•
-i <
must be between 2 and 16 on iDRAC.
key index > | all] - Index to assign the PK key
•
-k [<
all only works with the -v or -d
being uploaded.
key index > must be between 1 and 4 or
options. <
all on iDRAC.
PK Key Text > - Key text for the SSH Public key.
•
-t <
filename > - File containing the key text to
•
-f <
upload. The -f option is not supported on
Telnet/ssh/serial RACADM.
•
-v - View the key text for the index provided.
•
-d - Delete the key for the index provided.
89