PowerFlex: Uwierzytelnianie SSH oparte na kluczach kończy się niepowodzeniem z komunikatem "nieprawidłowy klucz prywatny"
Summary: Wdrożenie PowerFlex może zakończyć się niepowodzeniem podczas korzystania z uwierzytelniania SSH w bramce PowerFlex ze względu na metodę, za pomocą której tworzone są klucze 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.
Symptoms
Wdrożenie PowerFlex przy użyciu bramy zakończy się niepowodzeniem z poniższym błędem w bramie.
** scaleio-trace.log **
INFO c.e.s.s.i.s.i.c.SSHNodeConnection - Connecting to LinuxSystemNode[nodeName=<null>,nodeIPs=[172.1.1.1],credentials=NodeCredentials[domain=<null>,userName=root]]
WARN c.e.s.s.i.s.i.c.SSHNodeConnection - No credentials for SSH connection to node LinuxSystemNode[nodeName=<null>,nodeIPs=[172.1.1.1],credentials=NodeCredentials[domain=<null>,userName=root]], attempting keypass
INFO ssh.SSHClient - Creating SSHClient with keys for 172.1.1.1
INFO c.e.s.s.d.i.c.ValidateNodeCommand - running pre-executor for .ValidateNodeCommand
INFO c.e.s.s.d.i.c.ValidateNodeCommand - running pre-executor for .ValidateNodeCommand complete in 0 ms
WARN c.e.s.s.i.s.i.c.SSHNodeConnection - SSHNodeConnection: Failed to root@172.1.1.1. Reason: invalid privatekey: [B@3a7c1234
ERROR c.e.s.s.i.s.i.c.SSHNodeConnection - No password in the credentials for node LinuxSystemNode[nodeName=<null>,nodeIPs=[172.1.1.1],credentials=NodeCredentials[domain=<null>,userName=root]], SSH key failed as well.
INFO c.e.s.s.i.s.i.NodeConnectionFactoryImpl - for node LinuxSystemNode[nodeName=<null>,nodeIPs=[172.19.244.71],credentials=NodeCredentials[domain=<null>,userName=root]] we should create new connection
ERROR c.e.s.scaleio.lockbox.LockBoxService - Trying to use LockBox, but it doesn't exist yet.
ERROR c.e.s.s.d.i.c.ValidateNodeCommand - Error The SSH key authentication failed on node 172.1.1.1, verify it matches the key on the gateway executing command .ValidateNodeCommand (retry): com.emc.s3g.scaleio.im.services.installation.connectors.SSHNodeConnection.connect(SSHNodeConnection.java:382)
Cause
Klucz prywatny powinien być utworzony za pomocą RSA i powinien być w formacie PEM.
Resolution
Upewnij się, że klucz prywatny jest w formacie PEM.
Na przykład:
# file /root/.ssh/id_rsa
/root/.ssh/id_rsa: PEM RSA private key
# cat /root/.ssh/id_rsa
-----BEGIN RSA PRIVATE KEY-----
-----END RSA PRIVATE KEY-----
W przypadku, gdy typ pliku jest inny, przekonwertuj go na plik PEM lub utwórz klucz ssh za pomocą polecenia.
ssh-keygen -m pem -t rsaAffected Products
PowerFlex SoftwareArticle Properties
Article Number: 000188885
Article Type: Solution
Last Modified: 19 Nov 2025
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.