Is it possible to encrypt a vps like under ubuntu and unlock it remotely?

Hi,
I am new here.
I am using for some time Fedora now but I never encrypt remotely something.
On ubuntu or debian there is the initramfs-dropbear module.
Since fedora is using dracut I don’t quite know if there is a way to do the same thing? Maybe it goes against the capabilities of fedora like because the upgrade offline from edition to next edition?
The only thing I came accross with is this GitHub - dracut-crypt-ssh/dracut-crypt-ssh: dracut initramfs module to start dropbear sshd during boot to unlock the root filesystem with the (cryptsetup) LUKS passphrase remotely
But that means not an in-house solution… Any lead or hints?
Thanks in advance

I think you want to take a look at https://github.com/gsauthof/dracut-sshd

It’s available in the regular :fedora: repositories.

2 Likes

This is truly great @grumpey . It is ,maybe (?), exactly what I was looking for. Thanks a lot I will dwell on that. And mark it as a solution as soon as I completed one successful test installation