Zu den Hauptinhalten
  • Bestellungen schnell und einfach aufgeben
  • Bestellungen anzeigen und den Versandstatus verfolgen
  • Profitieren Sie von exklusiven Prämien und Rabatten für Mitglieder
  • Erstellen Sie eine Liste Ihrer Produkte, auf die Sie jederzeit zugreifen können.
  • Verwalten Sie mit der Unternehmensverwaltung Ihre Dell EMC Seiten, Produkte und produktspezifischen Kontakte.

Integrated Dell Remote Access Controller 8 (iDRAC8) Version 2.00.00.00 RACADM Command Line Interface Reference Guide

PDF

sshpkauth

Description Enables you to upload and manage up to 4 different SSH public keys for each 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.

To run this subcommand, you must have Configure user privilege.

Required License PK Authentication
Synopsis
racadm sshpkauth
  • Upload — This mode allows you to upload a key file or copy the key text to 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>
  • Remote RACADM:

    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 — This mode allows 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 — This mode allows you 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
Input
  • -i <user index> — Index for the user, it must be svcacct for CMC. <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
  • 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.
  • Get all keys for User 2 on iDRAC.
    $ racadm sshpkauth -v -i 2 -k all
    ********************* User ID 2 ******************
    Key ID 1:
    ssh-rsa    AAAAB3NzaC1yc2EAAAABIwAAAIEAzzy+k2npnKqVEXGXIzo0sbR6JgA5YNbWs3ekoxXV
                                              fe3yJVpVc/5zrrr7XrwKbJAJTqSw8Dg3iR4n3vUaP+lPHmUv5Mn55Ea6LHUslAXFqXmOdlThd
                                              wilU2VLw/iRH1ZymUFnut8ggbPQgqV2L8bsUaMqb5PooIIvV6hy4isCNJU=
                                              1024-bit RSA, converted from OpenSSH by xx_xx@xx.xx
                                           
    Key ID 2:
    Key ID 3:
    Key ID 4:

Diesen Inhalt bewerten

Präzise
Nützlich
Leicht verständlich
War dieser Artikel hilfreich?
0/3000 characters
  Bitte geben Sie eine Bewertung ab (1 bis 5 Sterne).
  Bitte geben Sie eine Bewertung ab (1 bis 5 Sterne).
  Bitte geben Sie eine Bewertung ab (1 bis 5 Sterne).
  Bitte geben Sie an, ob der Artikel hilfreich war.
  Die folgenden Sonderzeichen dürfen in Kommentaren nicht verwendet werden: <>()\