Skip to main content
NetApp Knowledge Base

SSH error no matching host keys found

Views:
90
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
CORE
Last Updated:

Applies to

  • ONTAP 9
  • FIPS Enabled

Issue

  • SSH fails with error: no matching host key type found
  • Below error is observed when attempting to ssh
0000001f.0013d43b 0a0aa02a Tue Dec 05 2023 12:19:38 -05:00[auth:error] 1 2023-12-05T12:19:38.097331-05:00 node_01 sshd 64219 --error:         WARNING: UNPROTECTED PRIVATE KEY FILE!
0000001f.0013d43d 0a0aa02a Tue Dec 05 2023 12:19:38 -05:00[auth:error] 1 2023-12-05T12:19:38.097371-05:00 node_01 sshd 64219 --error: Permissions 0644 for '/etc/ssh/ssh_host_ecdsa_key' are too open.
0000001f.0013d43e 0a0aa02a Tue Dec 05 2023 12:19:38 -05:00[auth:error] 1 2023-12-05T12:19:38.097381-05:00 node_01 sshd 64219 --error: It is required that your private key files are NOT accessible by others.
0000001f.0013d43f 0a0aa02a Tue Dec 05 2023 12:19:38 -05:00[auth:error] 1 2023-12-05T12:19:38.097391-05:00 node_01 sshd 64219 --error: This private key will be ignored.
0000001f.0013d440 0a0aa02a Tue Dec 05 2023 12:19:38 -05:00[auth:error] 1 2023-12-05T12:19:38.097767-05:00 node_01 sshd 64219 --error: Public key for /etc/ssh/ssh_host_ed25519_key does not match private key
0000001f.0013d441 0a0aa02a Tue Dec 05 2023 12:19:38 -05:00[auth:info] 1 2023-12-05T12:19:38.118093-05:00 node_01 sshd 64219 --Unable to negotiate with xxx.xxx.xx.xx port 51401: no matching host key type found.
Their offer:ssh-ed25519-cert-v01@openssh.com,ssh-ed25519,etc. etc.

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.

 

  • Was this article helpful?