My Oracle Support Banner

Oracle Linux 5: Fails to ssh Oracle Linux Server 6/7 With Error "no matching mac found" (Doc ID 2520760.1)

Last updated on MAY 24, 2020

Applies to:

Linux OS - Version Oracle Linux 5.10 and later
Linux x86-64


After disabling of SFTP ciphers and MAC algorithms that do not meet security standards, Oracle Linux 5 cannot access other Oracle Linux 6/7 server anymore with the below error:

OL5_client# sftp root@x.x.x.x
Connecting to x.x.x.x...
no matching mac found: client hmac-md5,hmac-sha1,hmac-ripemd160,,hmac-sha1-96,hmac-md5-96 server hmac-sha2-512,hmac-sha2-256
Couldn't read packet: Connection reset by peer



The following SFTP ciphers and MAC algorithms were configured on the Oracle Linux 6/7 server.

SSH Ciphers:



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

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