PSMP connection to old version of Linux fails with no matching key error

PSMP connection to old version of Linux fails with no matching key error

163
Created On 11/10/26 11:00 AM - Last Modified 11/10/26 16:08 PM


Symptom


PSMP connection to Redhat 5.8 with openssh 4.3 fails with below errors:

This session is being recorded Unable to negotiate with 10.0.xx.xx port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 Connection to 10.0.xx.xx closed.

Unable to negotiate with 10.0.xx.xx port 22: no matching host key type found. Their offer: ssh-rsa,ssh-dss


Environment


12.6;13.0 Privileged Access Manager (PAM, self-hosted) PSMP Redhat 5.8
openssh 4.3


Cause


Old version incompatibility with key exchange.

Resolution


1. go to /etc/ssh in psmp server
2. backup ssh_config
3. open ssh_config and add below

Host 10.0.80.xx
KexAlgorithms +diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

3.1 you may encounter key algorithm error as well. then add below.
Host 10.0.80.xx
HostkeyAlgorithms ssh-rsa,ssh-dss

Note: Host is the target server address and you may adjust value of each key as you see in the error.


Actions
  • Print
  • Copy Link

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