Uploading, Viewing, and Deleting SSH Keys Using RACADM

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 RACADM 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>

Example:

Upload a valid key to the iDRAC6 User 2 in the first key space using a file:

$ racadm sshpkauth -i 2 -k 1 -f pkkey.key

PK SSH Authentication Key file successfully uploaded to the RAC.

CAUTION: The "key text" option is supported on local and remote RACADM. The "file" option is not supported on Telnet/ssh/serial RACADM.

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

For information on the subcommand options, see sshpkauth subcommand in the iDRAC6 Administrator Reference Guide available on the Dell Support website at support.dell.com/manuals.

138

Adding and Configuring iDRAC6 Users

Page 138
Image 138
Dell IDRAC6 manual Uploading, Viewing, and Deleting SSH Keys Using Racadm, Delete, 138