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

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

212
Created On 11/10/26 11:01 AM - Last Modified 11/10/26 15:58 PM


Symptom


While SSH'ing via PSMP to some of the network devices after upgrade PSMP to Version 12.x, users are getting the following error message: This session is being recorded "Unable to negotiate with 10.x.x.x port 22: no matching key exchange method found. Their offer: ssh-rsa,ssh-dss

Environment


12.6;12.7;13.0 Privileged Access Manager (PAM, self-hosted) PSMP PSMP Networking & Connectivity

Cause


Difference in available cryptography algorithms (kexalgorithms) for SSH between the PSMP and the Target System

Resolution


Refer to : 
https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/Release%20Notes/RN-WhatsNew12-6.htm?tocpath=Get%20Started%7CWhat%E2%80%99s%20New%7CRelease%20Notes%7C_____1#Behaviorchangenotes

Row #11
------------------

To workaround this add in the /etc/ssh/ssh_config on the PSMP server:

PubkeyAcceptedKeyTypes +ssh-rsa
HostKeyAlgorithms +ssh-rsa,ssh-dss
 


Actions
  • Print
  • Copy Link

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