From c9d6f77a76b80a3538f9c27a6acd0118fdb520f7 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 4 May 2023 15:49:21 -0400 Subject: [PATCH] Add Host key verification failed page --- .../error-host-key-verification-failed.md | 17 +++++++++++++++++ .../authentication/troubleshooting-ssh/index.md | 1 + 2 files changed, 18 insertions(+) create mode 100644 content/authentication/troubleshooting-ssh/error-host-key-verification-failed.md diff --git a/content/authentication/troubleshooting-ssh/error-host-key-verification-failed.md b/content/authentication/troubleshooting-ssh/error-host-key-verification-failed.md new file mode 100644 index 000000000000..dc77e79df4d4 --- /dev/null +++ b/content/authentication/troubleshooting-ssh/error-host-key-verification-failed.md @@ -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. diff --git a/content/authentication/troubleshooting-ssh/index.md b/content/authentication/troubleshooting-ssh/index.md index b7b79529d9a2..87590ede1191 100644 --- a/content/authentication/troubleshooting-ssh/index.md +++ b/content/authentication/troubleshooting-ssh/index.md @@ -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