chadoe / luks-triple-unlock

Set of shell scripts to allow unlocking of full disk encrypted Ubuntu and Debian installs through console, USB-key or SSH.
58 stars 17 forks source link

Dropbear SSH key #12

Closed p4xel closed 7 years ago

p4xel commented 7 years ago

Cannot connect to dropbear using SSH key pair Looks like there is an issue with SSH authorized_keys while generating initramfs image

update-initramfs: Generating /boot/initrd.img-4.4.0-62-generic
dropbear: WARNING: Invalid authorized_keys file, remote unlocking of cryptroot via ssh won't work!

Update: The location of authorized_keys has changed and is now in /etc/dropbear-initramfs/. After moving it there and changing permissions to 600 it works like a charm