Decrypt LUKS partition remotely via SSH
Fernando Cejas
In superposition state, working on Quantum Computing and Machine Learning. Python and Rust.
As a developer, I use my own personal cloud (home lab) for development purposes. My headless development server has no attached devices, making remote administration a necessity. To ensure security, I encrypt all my hard drives. But how do I remotely decrypt them without being in front of the machine?
Thanks to systemd based #Linux Distro, I can set up a tiny SSH Server at startup time in the initial RAM Disk.
This setup allows me to remotely decrypt the LUKS partitions, saving me time and eliminating the need for specific hardware like KVM.
Check out how I do it here: https://linux.fernandocejas.com/docs/guides/decrypt-luks-partition-remotely-via-ssh.
#linux #tips #dev