Re:Apple: SSH and FileVault
by SXX on Friday September 19, 2025 @08:11AM
(#45300726)
One question for you or anyone who tried it. SSH host (mac) key pre disk unlock is randomly generated and persistent?
[ Parent
| on HN ]
I'd be surprised if it were a different key from the regular host key.
Most SSH clients I know show a big and often non-overridable warning in case of a changed host key and don't allow (at least not TOFU-style) trusting two keys.
> Most SSH clients I know show a big and often non-overridable warning in case of a changed host key and don't allow (at least not TOFU-style) trusting two keys.
You can solve this with HostKeyAlias, but yeah I doubt Apple would do this. Considering other comments mentioning "just SSHing after reboot" it's certainly the same host key. https://stackoverflow.com/questions/733753/how-to-handle-ssh-host-key-verification-with-2-different-hosts-on-the-same-but
PS: Another option obviously UserKnownHostsFile, but I would better keep single known hosts file.