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.
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
Updated