# Host Key

*noun*

say it: **“HOHST kee”** **/ˈhoʊst ki/**

An SSH server's own key, which proves to ssh that it's talking to the same computer as last time.

## What is a **host key**?

A **host key** is an SSH server's ID card. The first time you connect, ssh shows the key's fingerprint and asks if it's the right one; after that, ssh checks it every time and refuses loudly if it ever changes, in case someone is pretending to be the server.

```bash
ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub   # prints the fingerprint: SHA256: and 43 letters and numbers
```

## In a sentence

- “ssh showed the **host key**'s fingerprint and asked if it was right.”
- “After the server was rebuilt, its **host key** changed and ssh refused to connect.”

Level: Journeyman · [More Unix terms at this level](https://www.ask-codey.com/glossary?category=unix&level=3)

Updated: November 10, 2026

Source: https://www.ask-codey.com/glossary/host-key
