PowerFlex:如何生成 SSH 密钥对

Summary: 要为 PowerFlex 节点、交换机、作系统管理员、作系统用户创建 SSH 密钥,请使用此过程手动生成 RSA 类型的 SSH 密钥,并确保在没有密码的情况下生成密钥。

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

步骤

  1. 使用以下命令生成
ssh-keygen -b 2048 -t rsa

 

  1. 输入文件路径以保存公钥和私钥,或继续使用不带密码的默认文件路径:输出示例:

 

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

 

指示公钥和私钥保存在默认文件路径中的示例输出:

 

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:

输出示例

  1. 验证 公钥和私钥是否保存在默认文件路径中:/root/.ssh/输出示例:

 

cd /root/.ssh
ls

 

    • id_rsa.pub 表示钥。
    • id_rsa表示钥。

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.