cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
32550
Views
10
Helpful
1
Replies

%SSH-3-NO_MATCH: No matching hostkey algorithm found:

HI Team,

Can anyone update me the possible reason for the below error.

%SSH-3-NO_MATCH: No matching hostkey algorithm found: client ssh-dss server ssh-rsa
%SSH-3-NO_MATCH: No matching hostkey algorithm found: client ecdsa-sha2-nistp256 server ssh-rsa
%SSH-3-NO_MATCH: No matching hostkey algorithm found: client ecdsa-sha2-nistp384 server ssh-rsa
%SSH-3-NO_MATCH: No matching hostkey algorithm found: client ecdsa-sha2-nistp521 server ssh-rsa
%SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection
%SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection

1 Accepted Solution

Accepted Solutions

Marvin Rhoads
Hall of Fame
Hall of Fame

It appears the client is setup to only accept advanced (Next Generation Encryption - NGE) cryptographic algorithms and the server offers a public key using the older RSA encryption method. the mismatch cause the attempted connection to fail.

Either the client needs to relax the requirements or a new public key need to be generated on the server (possibly after upgrading the software to allow the administrator to choose NGE algorithms when creating the public key). IOS on an ISR G2 router, for example, requires version 15.2(4) M or later. Reference.

View solution in original post

1 Reply 1

Marvin Rhoads
Hall of Fame
Hall of Fame

It appears the client is setup to only accept advanced (Next Generation Encryption - NGE) cryptographic algorithms and the server offers a public key using the older RSA encryption method. the mismatch cause the attempted connection to fail.

Either the client needs to relax the requirements or a new public key need to be generated on the server (possibly after upgrading the software to allow the administrator to choose NGE algorithms when creating the public key). IOS on an ISR G2 router, for example, requires version 15.2(4) M or later. Reference.

Review Cisco Networking for a $25 gift card