BMC IP pingable but not able to SSH- Unable to load host key :invalid format
Applies to
All ONTAP-based platforms using BMC except:
- AFF A400
- FAS 8700
- FAS 8300
Issue
- BMC is active and working.
- BMC IP is pingable from the client.
- SSH from client to BMC fails with the error "Connection Refused".
- Able to connect to the console of the node and switch to BMC.
- Error message after connecting to the console of the node and switching to 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.