跳转到主内容

BMC IP pingable但无法SSH -无法加载主机密钥:invalid

适用场景

使用BMC的所有基于ONTAP的平台、 以下平台除外:

  • AFF A400
  • FAS 8700
  • FAS 8300

问题描述

  • BMC处于活动状态且正常工作。
  • BMC IP可从客户端执行pingable。
  • 从客户端到BMC的SSH失败、并显示错误"连接被拒绝"。
  • 能够连接到节点的控制台并切换到BMC。
  • 连接到节点的控制台并切换到BMC后显示错误消息:

network: Secure Port is enabled for [ssh] with 22
BMC localhost> Unable to load host key "/etc/ssh/ssh_host_rsa_key": invalid format
Unable to load host key "/etc/ssh/ssh_host_rsa_key": invalid format
Unable to load host key: /etc/ssh/ssh_host_rsa_key
Unable to load host key "/etc/ssh/ssh_host_dsa_key": invalid format
Unable to load host key "/etc/ssh/ssh_host_dsa_key": invalid format
Unable to load host key: /etc/ssh/ssh_host_dsa_key
Unable to load host key "/etc/ssh/ssh_host_ecdsa_256_key": invalid format
Unable to load host key "/etc/ssh/ssh_host_ecdsa_256_key": invalid format
Unable to load host key: /etc/ssh/ssh_host_ecdsa_256_key
Unable to load host key "/etc/ssh/ssh_host_ecdsa_384_key": invalid format
Unable to load host key "/etc/ssh/ssh_host_ecdsa_384_key": invalid format
Unable to load host key: /etc/ssh/ssh_host_ecdsa_384_key
Unable to load host key "/etc/ssh/ssh_host_ecdsa_521_key": invalid format
Unable to load host key "/etc/ssh/ssh_host_ecdsa_521_key": invalid format
Unable to load host key: /etc/ssh/ssh_host_ecdsa_521_key
sshd: no hostkeys available -- exiting.

 

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.