Unable to SSH to Switch - no matching mac found: client hmac-sha1 server hmac-sha1-96 error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 11:32 AM - edited 03-08-2019 02:52 PM
So I am unable to ssh from one device to another. I am testing this way because right now I only have the devices connected to each other and I console into them. Anybody familiar with what is going on?
no matching mac found: client hmac-sha1 server hmac-sha1-96
- Labels:
-
Other Switching

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 11:46 AM
Hello,
your devices cannot agree on a common message authentication code (MAC). Which devices are those, and what IOS versions are you running ? Which rsa keys do you have configured ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 01:09 PM
These are 4431 Routers and configured for 2048.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 01:19 PM
What is the output of "sh ip ssh"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 01:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 02:03 PM
Hello,
zeroize the keys and try a new key with 1024 modulus...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 06:39 PM
Ok I will do that ASAP and let you know the status thanks so much!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-02-2018 07:01 PM
You may want to redo the SSH config.
Here is a link you can follow:
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-01-2021 11:28 AM
can you redo SSH config without locking yourself out? which parts are you suggesting redoing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2021 08:57 AM
I had same issue after upgrade IOS-XE to some switchs
How you fix ? Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2021 03:03 AM
Hi Shat1478,
I've fixed it upgrading ssh client....in my case Putty from release 0.60 to release 0.74.
Ciao
Mario
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2023 08:57 AM
Hi,
It worked! Upgrading ssh client from release 0.60 to release 0.78.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2025 02:32 PM
Hi,
Tnks, for your simple comments. Great solution
