Hello,

dropbear-initramfs seems to have stopped working, perhaps since a recent update:

$ cat /etc/debian_version
13.3

$ ls -l /etc/dropbear/initramfs|grep autho
-rw------- 1 root root  389 Oct 16 15:57 authorized_keys

$ sudo update-initramfs -uk all
update-initramfs: Generating /boot/initrd.img-6.12.63+deb13-amd64
update-initramfs: Generating /boot/initrd.img-6.12.57+deb13-amd64
update-initramfs: Generating /boot/initrd.img-6.12.48+deb13-amd64
update-initramfs: Generating /boot/initrd.img-6.12.43+deb13-amd64

$ sudo lsinitramfs /boot/initrd.img-$(uname -r) | grep authorized_keys
root-cSYi50V2T3/.ssh/authorized_keys 
$

This lsinitramfs listing seems to show openssh's file, rather than
/etc/dropbear/initramfs which, iirc, is to be expected.

Keys in /etc/dropbear/initramfs/authorized_keys fail when ssh connects to 
dropbear.
When the crypt is unlocked manually, openssh takes over after boot and ssh 
functions normally.

This worked previously, but certainly prior to the 13.3 update.

Can anyone reproduce this behaviour, or have any suggestions?

Many thanks
Gareth

Reply via email to