From 139ee61c6fa21c5bc94f0eb369cf754e4713d9ca Mon Sep 17 00:00:00 2001 From: Tommy Date: Mon, 4 Sep 2023 17:04:57 -0700 Subject: [PATCH] Add ed25519 --- ...S Encryption, Mirroring, and Remote Unlocking with Ubuntu.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/content/posts/linux/Root ZFS Encryption, Mirroring, and Remote Unlocking with Ubuntu.md b/content/posts/linux/Root ZFS Encryption, Mirroring, and Remote Unlocking with Ubuntu.md index 8111a3e..1281d71 100644 --- a/content/posts/linux/Root ZFS Encryption, Mirroring, and Remote Unlocking with Ubuntu.md +++ b/content/posts/linux/Root ZFS Encryption, Mirroring, and Remote Unlocking with Ubuntu.md @@ -282,6 +282,7 @@ echo 'omit_dracutmodules+=" crypt-ssh "' >> /etc/dracut-config-location-idk mkdir -p /etc/dropbear ssh-keygen -t rsa -m PEM -f /etc/dropbear/ssh_host_rsa_key ssh-keygen -t ecdsa -m PEM -f /etc/dropbear/ssh_host_ecdsa_key +ssh-keygen -t ed25519 -m PEM -f /etc/dropbear/ssh_host_ed25519_key mkdir -p /etc/cmdline.d echo "ip=dhcp rd.neednet=1" > /etc/cmdline.d/dracut-network.conf @@ -292,6 +293,7 @@ install_optional_items+=" /etc/cmdline.d/dracut-network.conf " # Copy system keys for consistent access dropbear_rsa_key=/etc/dropbear/ssh_host_rsa_key dropbear_ecdsa_key=/etc/dropbear/ssh_host_ecdsa_key +dropbear_ed25519_key=/etc/dropbear/ssh_host_ed25519_key # User zbmuser is the authorized unlocker here dropbear_acl=/home/zbmuser/.ssh/authorized_keys EOF