this post was submitted on 12 Jan 2025
36 points (97.4% liked)

Linux

49007 readers
1076 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I tried added a key file and even a password txt but both lead to it still asking for me to type in the password.

Is it because the drive is encrypted? I tried placing the files at /, /boot, /root, /etc

Edit1: I’ve tried to install dropbear and give it ssh keys. I will try to reboot in the morning and see what happens

Edit2: signing in via ssh just says port 22 rejected not working :(

Edit3: neither dropbear for ssh or keyfile worked. I give up.

you are viewing a single comment's thread
view the rest of the comments
[–] JustEnoughDucks@feddit.nl 3 points 2 days ago* (last edited 2 days ago) (1 children)

Interesting thoughts in this thread.

I simply switched to having an unencrypted boot partition with the automount key on a flash drive. After it boots the server, just remove the whole boot partition. Physical separation is much much more powerful for smash and grabs, petty seizures, and evil maid than TPMs.

The flash drive is stored securely when I am in the area. Flash drive can go in the machine if I am away for a while or have something critical.

I go a step further and have password-only data drive description so I have to ssh in to set up the data drives again, but the principle would be the same.

[–] furrowsofar@beehaw.org 2 points 1 day ago* (last edited 1 day ago)

Yes, that is why I see little value in a TPM for this sort of thing. That is at least for motherboard attached TPMs.