1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2024-12-22 12:51:34 -05:00
This commit is contained in:
Tommy 2023-09-20 03:08:26 -07:00
parent 91ea90095b
commit 6dcbc77c14

View File

@ -278,8 +278,11 @@ cp /boot/efi/EFI/ZBM/VMLINUZ.EFI /boot/efi/EFI/ZBM/VMLINUZ-BACKUP.EFI
```bash ```bash
git clone https://github.com/dracut-crypt-ssh/dracut-crypt-ssh git clone https://github.com/dracut-crypt-ssh/dracut-crypt-ssh
apt install -y blah blah blah dependency here I forgot apt install -y libblkid-dev
some build command here cd dracut-crypt-ssh
./configure
make
make install
echo 'omit_dracutmodules+=" crypt-ssh "' >> /etc/dracut-config-location-idk echo 'omit_dracutmodules+=" crypt-ssh "' >> /etc/dracut-config-location-idk
mkdir -p /etc/dropbear mkdir -p /etc/dropbear
ssh-keygen -t rsa -m PEM -f /etc/dropbear/ssh_host_rsa_key ssh-keygen -t rsa -m PEM -f /etc/dropbear/ssh_host_rsa_key
@ -299,6 +302,8 @@ dropbear_ed25519_key=/etc/dropbear/ssh_host_ed25519_key
# User zbmuser is the authorized unlocker here # User zbmuser is the authorized unlocker here
dropbear_acl=/home/zbmuser/.ssh/authorized_keys dropbear_acl=/home/zbmuser/.ssh/authorized_keys
EOF EOF
generate-zbm
``` ```
### Configure EFI boot entries ### Configure EFI boot entries