I’m receiving a “Host Key Verification Failed” error when connecting via SFTP. How do I fix it?

Question

can you please help me with this question

Answer ( 1 )

    0
    2025-02-22T04:46:31+00:00

    When the server’s host key has been modified or is not included in your SFTP client’s list of recognized hosts, this error happens.
    *Remedy*:
    1. If you’re using Linux or macOS, delete the server’s current entry from your local machine’s ~/.ssh/known_hosts file.
    2. Establish a new connection and validate the new host key when prompted.
    3. Check with the server administrator if you’re not sure if the host key change is authentic.

Leave an answer