Dropbear doesn't start when using banner file on Debian 12
0
votes
1
answer
181
views
I have a running **dropbear-initramfs** server in my **nitramfs** environment, however I am not able to get it to display banner.
Following contents of
/etc/dropbear/initramfs/dropbear.conf
work just fine:
...
DROPBEAR_OPTIONS="-I 60 -p 22 -j -k -s -c cryptroot-unlock"
...
Specifying banner-file, however, results in dropbear failing to start, even though /etc/banner
& /etc/dropbear/initramfs/banner
files are present and populated (I have even tried turning on **+x** bit)
...
DROPBEAR_OPTIONS="-I 60 -p 22 -j -k -s -b /etc/banner -c cryptroot-unlock"
...
Updating the initramfs with update-initramfs -u
and checking lsinitramfs /initrd.img | grep banner
shows no banner file present. Rebooting results in dropbear not starting and port remains closed. I already verified that this singular change is responsible for dropbear (not) starting.
I am running **Debian 12** with **dropbear-initramfs/stable,now 2022.83-1+deb12u2**. On my previous Arch installation, simply including -b /etc/banner
in the **DROPBEAR_OPTIONS** was sufficient to populate initrd with banner file. Is there something I am missing?
Asked by jackar
(73 rep)
Nov 2, 2024, 03:18 AM
Last activity: Nov 5, 2024, 01:43 PM
Last activity: Nov 5, 2024, 01:43 PM