Skip to main content
NetApp Knowledge Base

SSH authentication for user with public key fails host key verification

Views:
179
Visibility:
Internal
Votes:
0
Category:
not set
Specialty:
not set
Last Updated:
2/3/2025, 11:11:50 PM

Applies to

  • ONTAP 9
  • SSH public key authentication

Issue

SSH public key access fails with a message similar to the following:

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:4QsaJ3jPOyUSBmqc7Ltk2xtmSuFivY+pBKChcMXSIy4.
Please contact your system administrator.
Add correct host key in /.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /.ssh/known_hosts:21
ECDSA host key for x.x.x.x has changed and you have requested strict checking.
Host key verification failed

 

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

New to NetApp?

Learn more about our award-winning Support

This is an internal KB article and its content should not be copy/pasted and shared with people outside of NetApp. Always seek Duty Manager authentication of caller for password reset requests. If you need further assistance post a question in Knowledge Xchange