# How do you handle SSH host keys on servers that get rebuilt a lot? — retained record

> Retained reddit record from reddit:sysadmin.

Canonical: https://highsignal.app/data/records/2453cf1bf97f1f6e

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:sysadmin)  published 2026-10-20 01:16 ingested 2026-10-21 02:40

[original source ↗](https://www.reddit.com/r/sysadmin/comments/1xaeujc/how_do_you_handle_ssh_host_keys_on_servers_that/)

## retained text



```
A rebuilt VM usually comes back with a new host key, so anything with strict checking refuses to connect, including monitoring jobs nobody is watching. But accepting a changed key automatically means you'd never notice a man-in-the-middle. Do you sign host keys with an SSH CA, publish them from provisioning, or alert and have a person accept the change?
```



document fetched 2026-10-21 00:36 · canonical https://reddit.com/r/sysadmin/comments/1xaeujc/how_do_you_handle_ssh_host_keys_on_servers_that
