Skip to main content
NetApp Knowledge Base

SSH fails to connect to node due to presence of "hmac-ripemd160" and/or "hmac-ripemd160-etm" MAC algorithms

Last Updated:

Applies to

  • ONTAP 9.8
  • Upgrading from ONTAP 9.1-9.7 to 9.8


After Completing upgrade to ONTAP 9.8, unable to SSH into cluster management ports.
  • The SSH client issues the following error message:
ssh_exchange_identification: Connection closed by remote host
  •  Verify configured algorithms
::*> security ssh show -vserver vserer_name

                       Vserver: vserver_name
       Key Exchange Algorithms: diffie-hellman-group-exchange-sha256,
                                ecdh-sha2-nistp256, ecdh-sha2-nistp384,
                                ecdh-sha2-nistp521, curve25519-sha256
                       Ciphers: aes256-ctr, aes192-ctr, aes128-ctr, aes256-cbc,
                                aes192-cbc, aes128-cbc, 3des-cbc, aes128-gcm,
                MAC Algorithms: hmac-sha1, hmac-sha1-96, hmac-sha2-256,
                                hmac-sha2-512, hmac-sha1-etm, hmac-sha1-96-etm,
                                hmac-sha2-256-etm, hmac-sha2-512-etm, hmac-md5,
                                hmac-md5-96, hmac-ripemd160, umac-64, umac-128,
                                hmac-md5-etm, hmac-md5-96-etm,
                                hmac-ripemd160-etm, umac-64-etm, umac-128-etm
Max Authentication Retry Count: 6

MESSAGES.LOG.GZ log (Can be viewed from Active IQ digital Advisor)

  • Click here to access Active IQ Digital Advisor
00000003.00002274 00016d74 Sun Nov 08 2020 14:09:20 +05:30 [auth:CRITICAL] 1 2020-11-08T14:09:20.816189+05:30 cluster1-01 sshd 21372 - - fatal: /etc/ssh/sshd_config line 102: Bad SSH2 mac spec 'hmac-sha1,hmac-sha2-256,hmac-sha2-512,,,,,,,, hmac-ripemd160,'.
  • This message contains "hmac-ripemd160" or "hmac-ripemd160-etm", both of which are unsupported.


Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.
Scan to view the article on your device