A bit more in detail: Because the warning message refers to the fingerprint for the ecdsa key sent by the remote host, we gather the info about the public (ecdsa) key of the host: Ssh-keyscan -t ecdsa รขโ‚ฌยฆ