Reference Guide
Example
racadm setsysinfo -c chassisname "Dell Rack System"
The chassis name was set successfully.
sshpkauth
Description Enables you to upload and manage up to 4 different SSH public keys per user. You can upload a key
file or key text, view keys, or delete keys.
This command has three mutually exclusive modes determined by the options — upload, view,
and delete.
Upload
The upload mode allows you to upload a keyfile or to copy the key text on the command line. You
cannot upload and copy a key at the same time.
Local and 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 user-specified key 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 the user-specified key or all keys.
racadm sshpkauth -i <2 to 16> -d -k <1 to 4>
racadm sshpkauth -i <2 to 16> -d -k all
Synopsis
racadm sshpkauth
Input
• -i <user index> — Index for the user. <user index> must be between 2 to 16 on
iDRAC.
• -k [<key index> | all] — Index to assign the PK key being uploaded.
all
only works
with the
-v or -d options. <key index> must be between 1 to 4 or
all
on iDRAC.
• -t <PK Key Text> — Key text for the SSH Public key.
• -f <filename> — File containing the key text to 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.
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
127










