no matching key exchange method found

no matching key exchange method found

183
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 15:58 PM


Symptom


The following error appears connecting via PSMP:

 

No matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

 



Environment


12.0 PSMP

Cause


This error is coming from openSSH on the PSMP server, the public key algorithm is too weak and is not recommended for use.

The algorithm being used on the end target may have been depreciated as of OpenSSH version 7.7.


In version 12.0 of PSMP we upgraded the openssh client's version to be 8.3


Resolution


Recommended:
Upgrade the public key algorithm on the end target to use a supported stronger version.

Less secure:
Add the needed key exchange algorithms to the ssh client configuration on the PSMP server /etc/ssh/ssh_config

Note: The PSMShadowUsers must also be granted access to ssh_config



Actions
  • Print
  • Copy Link

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