Opé‐
ration
6
7
8
9
10
Exemple
localhost# config
localhost(config)# system certificates remote public-key-bag my-
known-hosts
localhost(config-public-key-bag-my-known-hosts)# public-key my-sftp-
host-1
localhost(config-public-key-my-sftp-host-1)# public-key-format ssh-
public-key-format
localhost(config-public-key-my-sftp-host-1)# public-key
(<base64Binary>): AAAAC3NzaC1lZDI1NTE5AAAAI...
localhost(config-public-key-my-sftp-host-1)# fingerprint
(<base64Binary, min: 1 octets, max: 64 octets>):
n2/4+VLG5oQ4NUrIYTAr2WMR140BQ+7aeImEV...
localhost(config-public-key-my-sftp-host-1)# commit
Commit complete.
localhost(config-public-key-my-sftp-host-1)# end
localhost# show running-config system certificates remote public-
key-bag my-known-hosts public-key my-sftp-host-1
system
certificates
remote
Command Line Interface (CLI) SINEC OS V2.4
Manuel de configuration, 10/2023, C79000-G8977-C498-07
Instruction
Entrez la clé publique (format DER codé Ba‐
se64).
Le format dépend de la configuration du para‐
mètre public-key-format.
Condition :
•
Il doit compter de 1 à 2048 octets
Pour saisir la clé de manière protégée, pressez
après public-key la touche Entrée. Vous
passez ainsi en mode Assistants.
[Facultatif] Entrez l'empreinte numérique de la
clé publique (format DER codé Base64).
Condition :
•
Il doit compter de 1 à 2048 octets
Pour saisir l'empreinte numérique de manière
protégée, pressez après fingerprint la tou‐
che Entrée. Vous passez ainsi en mode Assis‐
tants.
Validez les modifications.
Quittez le mode de configuration.
Contrôlez la configuration.
public-key-bag my-known-hosts
public-key my-sftp-host-1
public-key-format ssh-public-key-format
public-key AAAAC3NzaC1lZDI1NTE5AAAAI...
fingerprint n2/4+VLG5oQ4NUrIYTAr2WMR140BQ+7aeImEV...
Sécurité des données
7.3 Clés et certificats
Commande
public-key { Clé publique }
fingerprint { Empreinte
numérique }
commit
end
show running-config system
certificates remote public-key-
bag { Nom } public-key { Nom }
235