dropbear-initramfs 编辑配置 vi /etc/dropbear-initramfs/config 更新的配置如下: DROPBEAR_OPTIONS="-I 180 -j -k -p 2222 -s -c /bin/cryptroot-unlock -c /bin/cryptroot-unlock 强制登录后运行解锁命令 接下来,我们需要将自己的公钥(假设在~/.ssh/authorized_keys)复制到/etc/dropbear-initramfs
如果官方没有发布补丁,你可以自行修改cryptroot文件: sed -i's/GRUB_CMDLINE_LINUX_DEFAULT="/GRUB_CMDLINE_LINUX_DEFAULT="panic
manager [ processed 32 Extension Methods calls and 129 Extension Method implementations ][] Extension: fs-cryptroot-support manager [ processed 32 Extension Methods calls and 129 Extension Method implementations ][] Extension: fs-cryptroot-support