Dell Unity : Configuration de l’accès SSH sans mot de passe

Summary: Comment configurer l’accès SSH sans mot de passe dans Unity.

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. Générez des paires de clés sur le client.
[user@rhel8 ~]$ ssh-keygen
Generating public/private rsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_rsa):  <<<  keep empty
Enter passphrase (empty for no passphrase):                    <<<  keep empty
Enter same passphrase again:                                   <<<  keep empty
Your identification has been saved in /home/user/.ssh/id_rsa.
Your public key has been saved in /home/user/.ssh/id_rsa.pub.
The key fingerprint is:
SHA256:eVWNNWLhKu/CUTELDr6K4YwCnD1q1TfZG7MumlGW/JY user@rhel8.peeps.lab

The key's randomart image is:
+---[RSA 3072]----+
|             +o=.|
|       . . oo.o o|
|      . o . =.   |
|      ...o +.    |
|. o .  =S.o.     |
|.o = .o=.*+      |
|. * +.o oE*.     |
|.+ + .o..=.      |
|o    o. o...     |
+----[SHA256]-----+

 

  1. Passez à la .ssh .
[user@rhel8 ~]$ cd .ssh/

 

  1. Utilisez ls pour afficher les fichiers.
[user@rhel8 .ssh]$ ls
id_rsa  id_rsa.pub  known_hosts

 

  1. Renommez le fichier binaire id_rsa.pub to authorized_keys.
[user@rhel8 .ssh]$ mv id_rsa.pub authorized_keys

 

  1. Utilisez ls pour afficher les fichiers.
[user@rhel8 .ssh]$ ls
authorized_keys  id_rsa  known_hosts

 

  1. Utilisez SCP Pour télécharger la clé dans le répertoire ".ssh" dans le répertoire Unity.
[user@rhel8 .ssh]$ scp authorized_keys service@XX.XX.XX.XX:/home/service/.ssh
******************************************************************************
* Welcome to EMC UnityVSA 12GB - VIRT1234ABCDEF-spa - c4dev_PIE_8259R-5.3.0.0.5.120
* Serial Number: VIRT1234ABCDEF
* Unisphere IP : XX.XX.XX.XX
* Unisphere IP : fe80::260:1670:29c3:2667
******************************************************************************
Password:(Unity Service (SSH) Password)
authorized_keys

 

  1. Testez l’accès sans mot de passe.
[root@rhel8 .ssh]# ssh service@x.x.x.xx
******************************************************************************
* Welcome to EMC UnityVSA 12GB - VIRT1234ABCDEF-spa - c4dev_PIE_8259R-5.3.0.0.5.120
* Serial Number: VIRT1234ABCDEF
* Unisphere IP : x.x.x.xx
* Unisphere IP : xx80::xxx:xxxx:xxxx:2667
******************************************************************************
Last login: Mon Jul 21 19:03:53 2025 from x.x.x.254
01:30:32 service@VIRT1234ABCDEF
spa:~/user# No Password was asked

Additional Information

Si l’objectif de la configuration de la connexion sans mot de passe est d’exécuter uemcli commandes à partir d’un script, reportez-vous à l’article de la base de connaissances Dell Unity : La commande UEMCLI cesse de s’exécuter.

Ajout de l’attribut -sslpolicy L’option Accept empêche uemcli L’arrêt des commandes dans les scripts en raison de l’expiration du certificat.

 

Affected Products

Dell EMC Unity

Products

Dell EMC Unity Family |Dell EMC Unity All Flash, Dell EMC Unity Hybrid, Dell EMC UnityVSA Professional Edition/Unity Cloud Edition
Article Properties
Article Number: 000348009
Article Type: How To
Last Modified: 26 حزيران 2026
Version:  2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.