Passer au contenu principal
  • Passer des commandes rapidement et facilement
  • Afficher les commandes et suivre l’état de votre expédition
  • Créez et accédez à une liste de vos produits
  • Gérer vos sites, vos produits et vos contacts au niveau des produits Dell EMC à l’aide de la rubrique Gestion des informations de l’entreprise.

Dell Chassis Management Controller Version 3.0 for PowerEdge VRTX RACADM CLI Guide

PDF

sshpkauth

Description

Enables you to upload and manage up to six (6) different SSH public keys. You can upload a key file or key text, view keys, or delete keys.

racadm sshpkauth -i svcacct -k <key index> -p <privilege> -t <PK key text>
racadm sshpkauth -i svcacct -k <key index> -p <privilege> -f <PK key file>
racadm sshpkauth -v -i svcacct -k <key index>
racadm sshpkauth -d -i svcacct -k <key index>
NOTE
For DSA keys greater than 2048, use the following racadm command. CMC accepts RSA keys up to key strength 4096, but the recommended key strength is 1024.
racadm -r 192.168.8.14 -u root -p calvin sshpkauth -i svcacct -k 1 -p 0xfff -f dsa_2048.pub 

Synopsis

racadm sshpkauth

Input

  • -i Index for the user. <svcacct> is the Index for CMC.
  • -k index from 1-6 (or all for -v / -d options) to assign the PK key being uploaded.
  • -p privilege level to give to user for this PK key.

  • -t Key text for the PK key.
  • -r Specifies the controller’s remote IP address.
  • -u Specifies the user name.
  • -f file containing key text to upload.
    NOTE This option is supported only on the remote interface(s).
  • -v - View privilege and key text.
  • -d - Delete key and privilege for the index provided.
Examples :
  • View all keys
      racadm sshpkauth -i svcacct -k all -v
  • Delete all keys
    racadm sshpkauth -i svcacct -k all -d
  • Upload key at index 2 using text option
    racadm sshpkauth -i svcacct -k 2 -p 0xfff -t "key text"
  • Upload key at index 1 using file upload option.
      racadm sshpkauth -i svcacct -k 1 -p 0xfff -f idrsa.pub

Évaluez ce contenu

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez attribuer une note (1 à 5 étoiles).
  Veuillez indiquer si l’article a été utile ou non.
  Les commentaires ne doivent pas contenir les caractères spéciaux : <>()\