What you need to do is to regenerate the host keys in the remote server (the server to which you are trying to SSH to) so that its ssh_host_key.pub
will change and will give you the Identification Has Changed
error. This URL has steps to regenerate the host keys in debian server. Please translate to your version of Linux and it will work for you.
↧
Answer by Sree for Simulate the remote host identification warning
↧