3 ms·
the only time the host keys should change is if you a) delete them (either by wiping the whole machine or just deleting the files), or b) explicitly regenerate
by rcxdude 1y ago
the only time the host keys should change is if you a) delete them (either by wiping the whole machine or just deleting the files), or b) explicitly regenerate them. If they're changing for any other reason you're doing something weird.
- BenjiWiebe 1y agoOr they're getting MITM'd repeatedly by multiple different attackers...
- otabdeveloper4 1y agoProbably not. MITM pretty much never happens in the real world.
- otabdeveloper4 1y agoI don't think anybody actually generates host keys by hand. It's always some sort of "automation" script in your OS or SSH implementation.