1 Known Hosts
zbuddy edited this page 2026-11-04 06:43:21 -05:00

Known hosts

Every SSH server has a host key that identifies it, a bit like a passport. The first time you connect, Jumpdeck remembers the key. On every later connection it checks that the server still shows the same key. If someone tried to put a fake server in between (a man-in-the-middle attack), the key would not match and Jumpdeck would refuse to connect.

The Known Hosts page lists the keys you trust:

The Known Hosts page

Column
Host Address and port
Key Key type, e.g. ssh-ed25519
Fingerprint A short summary of the key (SHA-256)
Trusted since When it was first stored

How keys get trusted

What happens on the first connection depends on the host's Host key policy (host settings → Advanced):

Policy First connection Later, if the key is different
Trust on first use (default) The key is stored silently Connection refused
Ask before trusting You see the fingerprint and choose Trust and connect or Reject You see both keys and can accept the new one
Pinned Connection refused unless the key is already in the list Connection refused

Asking before trusting a new key

To check a fingerprint, compare it with the one printed on the server itself:

ssh-keygen -lf /etc/ssh/ssh_host_ed25519_key.pub

When a key changes

If a trusted host suddenly shows a different key, Jumpdeck refuses the connection and shows the trusted and the presented fingerprints side by side.

That can mean an attack, but there are innocent reasons too: the server was reinstalled, rebuilt from an image, or its keys were rotated. Find out which before you continue, e.g. by asking whoever runs the server.

If the change is expected, you have two options:

  • press Trust new key and reconnect in the terminal, or
  • forget the old key here (bin icon at the end of the row) and connect again. The host is then treated as new.

Forgetting a trusted key

Every new, changed and forgotten key is recorded in the audit log.

Team vaults

A team vault has its own known hosts, shared by all members. Switch to the team vault in the sidebar to see them. Changed keys on team hosts can only be accepted by editors and above.