My Oracle Support Banner

SSH error: "Unable to negotiate with port 22: no matching MAC found. Their offer: hmac-sha1" (Doc ID 2791867.1)

Last updated on JULY 15, 2021

Applies to:

Oracle Cloud Infrastructure - Version N/A and later
Linux OS - Version Oracle Linux 7.0 and later
Oracle Compute Cloud Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

When connecting to a destination server from command line ssh -vvv, the negotiation process with the destination fails with the following error:

Unable to negotiate with port 22: no matching MAC found. Their offer: hmac-sha1

The ssh -Q mac command shows that the hashing algorithm hmac-sha1 is available at the client end, so it is unclear why the negotiation has failed.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.