%SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Logs on Catalyst 9500
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2020 06:02 PM
Hello,
I just migrate our Edge Switch from Cisco Catalyst 3850 to Cisco Catalyst 9500 (Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.12.02, RELEASE SOFTWARE).
My switch has logs every two minutes a terminated ssh connection from the Ip address of the host we usually use to connect to our network devices.
Aug 9 20:34:11.334: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection from 10.170.1.134
Aug 9 20:36:13.952: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection from 10.170.1.134
Aug 9 20:38:11.203: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection from 10.170.1.134
Aug 9 20:40:11.656: %SSH-4-SSH2_UNEXPECTED_MSG: Unexpected message type has arrived. Terminating the connection from 10.170.1.134
This message did not appear on the old Switch. I have tried the following but the problem continues:
- Crypto key zerosize and then regenerate the crypto key
- Use the commands "ip ssh rsa keypair-name SSH" and "cry key generate rsa modulus 2048 label SSH"
- Removing the known host on client side
Below the switch configuration:
aaa new-model
aaa authentication login default local
aaa authentication login EXAMPLE1 group SERVERS-Tacacs local
aaa authentication enable default group SERVERS-Tacacs enable
!
aaa group server tacacs+ SERVERS-Tacacs
server-private 10.170.1.134 key xxxxxxxxxxxx
server-private 10.170.1.133 key xxxxxxxxxxxx
!
ip ssh version 2
!
crypto key generate rsa modulus 1024
!
line vty 0 4
access-class 75 in
access-class 75 in vrfname Mgmt-vrf
exec-timeout 15 0
logging synchronous
login authentication EXAMPLE1
transport input ssh
- Labels:
-
Catalyst 9000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2020 06:18 PM
Hi,
What ssh client are you using? Have you tried changing the client?
Thanks
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2020 12:55 AM
- Check for hints in this thread :
M.
-- Each morning when I wake up and look into the mirror I always say ' Why am I so brilliant ? '
When the mirror will then always repond to me with ' The only thing that exceeds your brilliance is your beauty! '
