# Its identity changed

> A server's host key no longer matches the one on record: what that means, why HiveBoard refuses, how to check it, and when to use Forget trusted key.

Source: https://hiveboard.dev/docs/help/identity-changed · Section: Troubleshooting · HiveBoard 0.1.7 · Updated 2026-10-19

## In short

- The server showed a different host key from the one HiveBoard remembered — a re-keyed server, or a machine pretending to be it.
- HiveBoard refuses to connect before it offers any password, code or key, and keeps refusing until you act.
- Check the new key's fingerprint with the cluster's administrators before you trust it.
- Only for a server that really was re-keyed, use Forget trusted key… on its Connection tab.

Every SSH server has a *host key*, which proves which machine you have reached. The first time HiveBoard connects to a server it remembers that key. If the server later shows a **different** key, HiveBoard says "The server's identity changed" and refuses to connect.

There are two explanations. The administrators re-keyed the server — after an upgrade or a reinstall — and the new key is genuine. Or something else is answering at the server's address and pretending to be it. From your computer the two look the same, so HiveBoard refuses until you have checked.

## What HiveBoard does

- It refuses **before** it offers any password, code or key. A machine pretending to be your cluster gets nothing that signs you in.
- It keeps refusing every time it tries, until you act. It never replaces the key on record by itself.
- It does not touch `~/.ssh/known_hosts`. That file is read, and never written.

## Where you see it

- **The chip** says **Can't connect**; the status panel says "The server's identity changed. Check it in Connections before trusting it." with **Fix**.
- **The connection test** stops at **Verify its identity**: "The server presented a DIFFERENT identity from the one on record. If the administrators re-keyed it, forget the old key under Connection → Server identity; otherwise do not connect."
- **The sign-in sheet**, for a server that asks for a password or a code, adds "This is not about your password. Until the host key is resolved, HiveBoard will not connect." (or "your code").
- **The Diagnostics tab** shows, under **Host key**, the key the server presented — its type and `SHA256:` fingerprint — and its status.

## Check before you trust it

1. Look for an announcement from the cluster's administrators — a re-key usually follows maintenance or an upgrade.
2. Ask them, or the cluster's documentation, for the `SHA256:` fingerprint of the login node's host key.
3. Compare it with the **Host key** line on the server's **Diagnostics** tab. It must match exactly.

If you cannot confirm the new key, do not forget the old one. Wait, and ask.

## Forget the old key

Only when you know the server was re-keyed:

1. Open the server in **Connections** and go to its **Connection** tab.
2. Under **Server identity**, press **Forget trusted key…**.
3. Read the dialog — "HiveBoard will trust whatever key Ember presents at the next connection, and remember it." — and press **Forget the key**.
4. Connect again: press **Run test** (a server that waits for you to sign in opens the sign-in sheet instead). This connection is a first visit, so the new key is trusted and remembered. Compare its fingerprint on the **Diagnostics** tab once more.

Only HiveBoard's own `known_hosts` in its data folder is edited, and a copy of the old file is kept.

> [!WARNING]
> If `~/.ssh/known_hosts` also lists the old key, HiveBoard still refuses, because it reads that file too. It says so after you forget the key ("… still lists Ember; remove that entry yourself if it is the stale one"). Remove the old line yourself, for example with `ssh-keygen -R ember.example.edu`.

## Other refusals about identity

A changed key is one of several things HiveBoard refuses at this step:

| The server showed | Result |
|---|---|
| a key marked `@revoked` | refused |
| a host certificate from an authority not on record | refused |
| a host certificate for another host, or one that ran out | refused |

See [Trusting a server's identity](/docs/connections/server-identity) for how the record works and how host certificates are checked.

## Check yourself

1. HiveBoard says a server's identity changed. What has it sent to the server?
   - Your password, to check whether the server is genuine
   - Nothing that signs you in: it refused before offering any credential ← the answer
   - Your public key only
   Why: The identity is checked before any password, code or key is offered; a changed key is refused at that point.

2. When should you press Forget trusted key…?
   - Whenever the identity changes, to get connected again
   - Only when you know the server was re-keyed, for example after its administrators announced it ← the answer
   - Every few months, to keep known_hosts tidy
   Why: A key that changes for no reason is exactly what an impostor looks like, so forget the old key only when you know it was re-keyed.

## Try it in the app

- Open a server's **Connection** tab and read the **Server identity** card — the key on record and how it came to be trusted.
- On the **Diagnostics** tab, compare the **Host key** fingerprint with the one your cluster's documentation publishes, if it publishes one.

## Related

- [Trusting a server's identity](https://hiveboard.dev/docs/connections/server-identity.md)
- [A server that will not connect](https://hiveboard.dev/docs/help/cant-connect.md)
- [A server's page and its tabs](https://hiveboard.dev/docs/connections/server-tabs.md)
- [How sign-in is kept safe](https://hiveboard.dev/docs/safety/sign-in-safety.md)
