Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k

LMS 2.5 - SSH 0: Unexpected mesg type received

I have configured RME 4.0 to use SSH as its preferred protocol for all archiving (config, software etc). I constantly get errors logged and the action is to check the credentials and whether the device can be managed. All my devices are IOS and support SSH (all except one supports SSH 2.0).

The AAA config on each device is the same (from a script) so I know it works, I have even checked manually by logging into the devices using PuTTY SSH and using the User Account that CiscoWorks is configured to use.

Logged on all the devices that are failing are messages like this:

Oct 28 16:46:24.530: SSH2 0: Unexpected mesg type received

Oct 28 16:50:34.055: SSH2 2: Unexpected mesg type received

Any ideas?

Andy

3 REPLIES
New Member

Re: LMS 2.5 - SSH 0: Unexpected mesg type received

SSH is not configured completely. Try with the following commands.

cry key zeroize rsa

hostname RouterA

ip domain-name zzz.com

crypto key generate rsa

1024

ip ssh time-out 15

ip ssh authentication-retries 3

username cisco123 password cisco321

line vty 0 4

transport input ssh

loging local

Refer to http://www.cisco.com/en/US/customer/tech/tk583/tk617/technologies_tech_note09186a00800949e2.shtml

Re: LMS 2.5 - SSH 0: Unexpected mesg type received

Hi

That is pretty much what is configured on all the SSH capable devices, although I use RADIUS Authentication instead of local users.

ip domain-name work.com

ip name-server 10.1.1.1

!

crypto key generate rsa modulus 1024

!

ip ssh time-out 120

ip ssh authentication-retries 3

Some of the newer devices require a slightly different command to generate the RSA key (usage keys general I think)

Andy

Re: LMS 2.5 - SSH 0: Unexpected mesg type received

I have given up with SSH on LMS 2.5 (or at least in RME 4). It was so intermittent it was not worth leaving it enabled. For the small number of hosts LMS 2.5 is managing I would get about 50% failing with the message logged on the device:

Nov 22 13:29:51: SSH2 3: Unexpected mesg type received

I have reset the protocol order in RME so that SSH is now last in the list and guess what? no more failures?

Cisco must know this is a problem with RME 4? Is it likely to be fixed in the forthcoming LMS 2.5(1) release?

Andy

645
Views
0
Helpful
3
Replies
CreatePlease to create content