UIM - Key exchange algorithm error during discovery for rsp probe

book

Article ID: 193705

calendar_today

Updated On:

Products

NIMSOFT PROBES DX Infrastructure Management

Issue/Introduction

 Error message as below in logs while discovering linux server using rsp probe 

kex error : no match for method kex algos: server [diffie-hellman-group-exchange-sha256], client [[email protected],ecdh-sha2-nistp256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1]

Environment

Release : 8.51
Component : UIM - RSP
Probe rsp 5.33 
Destination Server: Redhat 7.3

Resolution

From the error message  target server is only supporting diffie-hellman-group-exchange-sha256 algorithm while client supporting different key algorithms

Add below to server so that they can negotiate the common algorithm 

[email protected]

ecdh-sha2-nistp256



ssh -Q cipher # List supported ciphers
ssh -Q mac # List supported MACs
ssh -Q key # List supported public key types
ssh -Q kex # List supported key exchange algorithms



Additional Information

https://www.ssh.com/ssh/sshd_config/