Skip to content

Add Host key verification failed page #25401

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: 'Error: Host key verification failed'
intro: 'As a security precaution, SSH keeps track of which hosts it has previously seen.'
versions:
fpt: '*'
ghec: '*'
topics:
- SSH
---

This error means that the server to which you're connecting presented a key that doesn't match the keys seen for this server in the past.

You may see this error if the server has changed its keys unexpectedly, in which case you should be able to find an official report from a trustworthy source announcing the change. If {% data variables.product.company_short %} changes its SSH host key, this will be announced on {% data variables.product.prodname_blog %} at [github.blog](https://github.blog/).

You can find an up-to-date list of {% data variables.product.company_short %}'s public SSH keys on {% data variables.product.prodname_docs %}. You may need to add these keys to your `known_hosts` file. For more information, see "[AUTOTITLE](/authentication/keeping-your-account-and-data-secure/githubs-ssh-key-fingerprints)."

If you are encountering the error but can't find an official source for the server's keys, it is safest not to connect, because you may be connecting to a server other than your intended server. You may want to contact your IT department or the server's support team for help. If the server is being impersonated, the owner of the server will appreciate you informing them.
1 change: 1 addition & 0 deletions content/authentication/troubleshooting-ssh/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ children:
- /using-ssh-over-the-https-port
- /recovering-your-ssh-key-passphrase
- /deleted-or-missing-ssh-keys
- /error-host-key-verification-failed
- /error-permission-denied-publickey
- /error-bad-file-number
- /error-key-already-in-use
Expand Down