On macOS 26, ssh now unlocks FileVault.
me@Mac ~ % ssh m1.local This system is locked. To unlock it, use a local account name and password. Once successfully unlocked, you will be able to connect normally. ([email protected]) Password: System successfully unlocked. You may now use SSH to authenticate normally.
At that point, you have to kill the initial ssh session and log in a second time once FileVault has unlocked the storage and the OS has started.
On older macOS, you are locked out by design for most Mac hardware.
The system boots to firmware and presents an unlock rather than self-unlocking and starting the OS unless you save a one-time token generated with your account password to unlock the storage and start the OS after the reboot.
fdesetup authrestart
Software update prompts for your password and does the same processing as the fdesetup command does above.
fdesetup – FileVault configuration tool
If FileVault is enabled on the current volume, it restarts the system, bypassing the initial unlock.