Reset SSH Remote Host Identification
Here is the simplest solution:
ssh-keygen -R <host> |
For example,
ssh-keygen -R 192.168.3.10 |
From the ssh-keygen
man page:
-R hostname
Removes all keys belonging to hostname from aknown_hosts
file. This option is useful to delete hashed hosts (see the-H
option above).