How to fix warning about ECDSA host key Remove the cached key for IP/DNS on the local machine: ssh-keygen -R IP/DNS