Linux – CentOS 6.3 drive encryption being on remove server

bootcentosdisk-encryptionlinux

During the clean installation of CentOS 6.3, I choose to encrypt the primary partition / (the whole drive) (obviously except /boot).

My point is to have fully encrypted drive (8 drives in RAID10) but at the same time being able to reboot via SSH and not to be prompted to enter password as it's remove server (located in data-center).

My question is, how do i achieve it? How do I keep my drives encrypted and at the same time have the ability to reboot my server remotely without entering password on boot?

Best Answer

How do I keep my drives encrypted and at the same time have the ability to reboot my server remotely without entering password on boot?

You don't. As you have realised, if you store the password/decryption key with the server, it's accessible should you be rooted or otherwise compromised. If you don't, reboots are non-trivial.

Why do you want to encrypt the entire of / anyway? What good does encrypting the OS itself do (I mean, even if you manage this, it'll lower your boot time since it has to decrypt before using them).

That is, why not just encrypt /home just most distributions offer? Then when you login /home is decrypted and mounted.

Related Topic