Answer the question
In order to leave comments, you need to log in
How to organize disk encryption with luks and unlock via ssh?
Good day!
There is a need to install a server on an encrypted disk. Everything is fine, even from the ubuntu installer it is encrypted and everything works fine, except for unlocking the disk via ssh. The server stupidly writes access is denied, tried both from the root and from the admin user, explicitly indicated ip, set openssh-server + dropbear did according to the manuals on the network like:
A sense of zero. Can't be unlocked via ssh. Once the drive is unlocked directly, ssh connects and functions just fine. There is absolutely no data on failed connections in the logs. Tell me where to dig to achieve the desired result?
Answer the question
In order to leave comments, you need to log in
I re-read the dropbear documentation available (I never used it myself). There is very little official documentation on it. The most detailed manuals in several versions are collected in the discussion of this issue .
I hope you manage to solve the problem. If not, then I would still recommend refusing to encrypt the entire disk and limiting yourself to encrypting individual sections with important data, such as /home
, /var/www
etc.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question