From ce40d8fc9b695d1aa7584deaacb27845307be83e Mon Sep 17 00:00:00 2001 From: Tommy Date: Wed, 13 Dec 2023 15:01:05 -0700 Subject: [PATCH] Add dropbear config Signed-off-by: Tommy --- etc/zfsbootmenu/dracut.conf.d/dropbear.conf | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 etc/zfsbootmenu/dracut.conf.d/dropbear.conf diff --git a/etc/zfsbootmenu/dracut.conf.d/dropbear.conf b/etc/zfsbootmenu/dracut.conf.d/dropbear.conf new file mode 100644 index 0000000..be8198f --- /dev/null +++ b/etc/zfsbootmenu/dracut.conf.d/dropbear.conf @@ -0,0 +1,11 @@ +# Enable dropbear ssh server and pull in network configuration args +add_dracutmodules+=" crypt-ssh " +install_optional_items+=" /etc/cmdline.d/dracut-network.conf " +# Use dedicated host key +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/authorized_keys +# Change dropbear port +dropbear_port=22 \ No newline at end of file