Comment on Remote solution to decrypt disk at boot

markomas@lemmy.world ⁨11⁩ ⁨months⁩ ago

Hi, Why not to do little bit diffrently?

  1. Server boots into unencrypted kernel with ssh server (it has just that ssh server)
  2. Then you connect remotely via ssh and provide password (unlock encrypted disks etc)
  3. Then system boots to encrypted environment which you unlocked at step 2
  4. profit

No second pc/raspberry is required

I have this done with luks on Debian: hamy.io/…/how-to-install-luks-encrypted-ubuntu-18… I think you can adapt something similar to your freebsd

Quick google search found:

…freebsd.org/…/encrypted-root-with-unencrypted-pr…

github.com/Sec42/freebsd-remote-crypto

source
Sort:hotnewtop