PSM-SSH PSMIN080E Failed to convert OpenSSH key to PPK key.

PSM-SSH PSMIN080E Failed to convert OpenSSH key to PPK key.

188
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:06 PM


Symptom


Behavior: Unable to Connect to target server using the PSM-SSH Connection Component with an SSH Keys Platform. 

Session Ends with: PSMSH019E PSMSSHClient initialization failed.

PSMTrace Logging includes additional information:

PSMIN083I SSH Key Authentication initialize with [OpenSSH SSH-2 private key (old PEM format)] key type
PSMSH005E Failed to initiate PSMSSHClient component. Reason: PSMIN081E Failed to initialize SSH Keys capability. Reason: PSMIN080E Failed to convert OpenSSH key to PPK key (Error: 1)
PSMSH019E PSMSSHClient initialization failed. Program will be closed with code -1



Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;14.6 Platform/Account Type: SSH Keys
Connection Component: PSM-SSH


Cause


The SSH Key that is associated with the Account Object does not have a correctly formatted key for usage as per Documentation

Additionally:
A) The Private SSH Key is additionally secured with a password: (Not supported for Idira Usage, ER )
B) The Private SSH Key is in the new "OpenSSH" Format, (Since OpenSSH 7.8+) you can note this by looking at the key and it starting with:

-----BEGIN OPENSSH PRIVATE KEY-----

For Idira functionality, this type of key needs to be in the 'old' format, (You can note this from the logs: "OpenSSH SSH-2 private key (old PEM format)") and the key file would begin with:

-----BEGIN RSA PRIVATE KEY-----

 



Resolution


A) Create a new SSH Key pair that is not secured with an additional password

B) With the OpenSSH 7.8+ version of ssh-keygen utility specify the format type "-m PEM" Example:
 

ssh-keygen -m PEM -t rsa -f MySSHKey

From the latest ssh-keygen man page:

-m key_format
The supported key formats are: “RFC4716” (RFC 4716/SSH2 public or private key), “PKCS8” (PKCS8 public or private key) or “PEM” (PEM public key). By default OpenSSH will write newly-generated private keys in its own format, but when converting public keys for export the default format is “RFC4716”. Setting a format of “PEM” when generating or updating a supported private key type will cause the key to be stored in the legacy PEM private key format.

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001M4yCAE&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail