SSH: Unexpected Message Type

Unanswered Question
Sep 23rd, 2009

Hi All,

My 4507R with SupIV and IOS 12.2(31)SGA10 recently started to recieve this log message quite frequently. Any ideas as to why? It's not causing any problems, just an annoyance. Thanks.

003996: Sep 23 13:04:51.676: SSH2 1: Unexpected mesg type received

003997: Sep 23 13:34:51.524: SSH2 0: Unexpected mesg type received

003998: Sep 23 14:04:50.935: SSH2 0: Unexpected mesg type received

003999: Sep 23 14:34:50.384: SSH2 0: Unexpected mesg type received

004000: Sep 23 15:04:51.792: SSH2 0: Unexpected mesg type received

004001: Sep 23 15:34:50.921: SSH2 0: Unexpected mesg type received

I have this problem too.
2 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Lucien Avramov Wed, 09/23/2009 - 13:03

This is usually a communication interaction problem between the ssh client ( incorrect rsa key for ssh server ) and the ssh server. If you delete your keys on the ssh client for the ssh server, do you still see these messages when connecting from this client to the server?

rtjensen4 Wed, 09/23/2009 - 13:06

I wonder if maybe its an issue with CiscoWorks (LMS 3.2). It seems to be generating this error every 30 minutes on the nose. I can SSH to the switch without problems from my PC. Hmmmm.... I'll have to take a close look at CW I think.

Rajeev Ranjan Sun, 12/23/2012 - 01:41

I am not able to access switch after regenerating RSA key. This is our Core switch. Please help me.

Jerry Ye Wed, 09/23/2009 - 13:08

These error messages indicate that during an SSH session to the switch, a packet was

received which was not understood.



rtjensen4 Thu, 09/24/2009 - 12:19

Thanks. I just regenerated the RSA keys at 2048 bit instead of the 1024 I had before. I'll keep an eye on it and see if anything changes.

thomaslueder Sun, 12/23/2012 - 02:13

What Message you got?

Maybe you have to delete the old ssh key on your Client?

ssh keys got stored locally. If the ssh Key from a known Host changed you normaly got an error massage (posssibity of a man in the middle)

Sent from Cisco Technical Support iPhone App


This Discussion