01-14-2017 06:53 PM - edited 03-08-2019 08:54 AM
Router log is filled with below message, how do I stop this from happening.
.Jan 14 14:48:34.305: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection
.Jan 14 16:41:19.993: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection
.Jan 14 17:17:15.256: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection
James
01-15-2017 02:36 AM
Hi,
Most of ssh clients now days establish ssh version 2 connection. Thus, try setting ssh version to version 2. maybe that's why the connections are terminated.
Hope that could help
Regards
01-15-2017 05:15 PM
Thank you for suggestion and tip, after a lot of research, I created an access list and applied to line vty now I no longer get terminated connection in my log.
01-15-2017 03:19 AM
Hello
You can suprress the msgs via a logging discriminator and apply it to your console- buffer etc.
http://www.cisco.com/c/en/us/td/docs/ios/12_4t/12_4t11/htnmsylg.html#wp1056364
res
paul
01-15-2017 04:17 AM
Hello,
you might want to check the cryto key pair required for SSH2, or re-enter it, e.g.:
Router(config)# ip ssh rsa keypair-name Router.domain.com
'Router.domain.com' obviously have to match what is configured on your own device.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide