Users Guide

RACADM Subcommand Overview 391
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
Description
Enables you to upload and manage up to 4 different SSH public keys. You can
either upload a keyfile, or view a key specified by the user or all keys, or delete
a key specified by the user or all keys. This command has three mutually
exclusive modes—upload, view, and delete that are determined by the options
(see Table A-57) provided to the command.
Options
Table A-57. sshpkauth Subcommand Options
Option Description
-i <user index> Index for the user. <user index> must be between 2 to 16 on
iDRAC6.
-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 iDRAC6.
-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.