PowerFlex: come generare coppie di chiavi SSH

Summary: Per creare le chiavi SSH per un nodo PowerFlex, uno switch, un amministratore del sistema operativo, un utente del sistema operativo, utilizzare questa procedura per generare manualmente le chiavi SSH di tipo RSA e assicurarsi che la chiave venga generata senza passphrase. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

Procedura

  1. Generareunachiaveprivatautilizzandoilseguentecomando:
ssh-keygen -b 2048 -t rsa

 

  1. Inserire un percorso file per salvare le chiavi pubbliche e private o procedere con il percorso file predefinito senza una passphrase: Output di esempio:

 

Enter file in which to save the key (/root/.ssh/id_rsa):
Enter passphrase: # do not enter a passphrase
Enter same passphrase again: # do not enter a passphrase

 

Output di esempio che indica che le chiavi pubbliche e private vengono salvate nel percorso file predefinito:

 

Your identification has been saved in /root/.ssh/id_rsa 
Your public key has been saved in /root/.ssh/id_rsa.pub 
The key fingerprint is:
SHA256:fKIllqp5UXeuEW7xuYeE7PNHpvjAUatNx6I/bisRqRU root@PFMP2-4 
The key's randomart image is:

Risultato di esempio

  1. Verificare che le chiavi pubbliche e private siano salvate nel percorso file predefinito: /root/.ssh/. Output di esempio:

 

cd /root/.ssh
ls

 

    • id_rsa.pub indicauna chiave pubblica.
    • id_rsa indica chesi trattadi una chiave privata.

Affected Products

ScaleIO
Article Properties
Article Number: 000324363
Article Type: How To
Last Modified: 25 May 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.