🔑SSH Host Key
Also known as Host Key, Server Fingerprint, Host Key Fingerprint
The key that proves a server is the real one each time you connect.
Think of it like
Think of it like the face of a friend. You know them on sight, so a stranger in a mask stands out.
Example
Jack rebuilds his server, and it gets a new host key. His next login stops with a loud warning until he clears the old key.
Why it matters
It stops a fake server from catching your login. That is the whole point of the warning.
Definition
Example code
console
$ ssh jack@203.0.113.10
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!Common mistake
Key takeaways
- 1Proves the server. Not you, the machine.
- 2Trust once. You accept it on the first login.
- 3A change is a warning. Find out why first.