How to solve this problem ? (i need help !)

When ssh access after autopi reflashing. This warning message pops up.
what can i do to solve this problem??

=============================================================================

ssh pi@local.autopi.io
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ 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:81DbyCT8tRsx1g1JedpVjIpftnw+zql1bxx/xxxx.
Please contact your system administrator.
Add correct host key in /Users/username/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/username/.ssh/known_hosts:1
ECDSA host key for local.autopi.io has changed and you have requested strict checking.
Host key verification failed.

=============================================================================
what can i do to solve this problem??

type in your console

ssh-keygen -R local.autopi.io

Maybe check your host file at /Users/username/.ssh/known_hosts and delete the entry for autopi

2 Likes

Thank you for your reply.
May I ask one more question??

I faced a new problem.
After resolving the host key problem, connecting to local.autopi.io says that the local API is being prepared.
What should I do?!?

What do you mean? I don’t understand. Can you post your traceback or error log.