unlock-luks-partition
unlock-luks-partition copied to clipboard
some issues
Followed the guide here about 10 times and i cant get it working on ubuntu 20.04
ssh: connect to host IP port 21: Connection refused
Some errors here

The dropbear executable can not be found, it is not copied to the initial ramdisk. Did you have dropbear installed on that system before running update-initrd?
The
dropbearexecutable can not be found, it is not copied to the initial ramdisk. Did you havedropbearinstalled on that system before runningupdate-initrd?
I think the issue was because i didn't add initramfs to crypttab like so: home /dev/sda5 none luks,initramfs
I followed this tutorial https://www.arminpech.de/2019/12/23/debian-unlock-luks-root-partition-remotely-by-ssh-using-dropbear/
Now when i remove his and try install yours i get /sbin/dropbear not found error.
I added initramfs-helpers.
- Verify that you have
dropbearinstalled (apt-get install dropbearand notdropbear-initramfsas in the other tutorial) - Verify that you have followed this HOWTO's steps from top to bottom, not mixed with another HOWTO.
- After
update-initramfs ...step, unpack your initramfs and verify that you havedropbearcopied to the initramfs. Mine looks like:
$ sudo find initrd.d/ -name dropbear
initrd.d/etc/dropbear
initrd.d/scripts/init-bottom/dropbear
initrd.d/scripts/init-premount/dropbear
initrd.d/usr/sbin/dropbear