I was looking for the same script in debian and could not find it anywhere. I used your logic using initramfs-tools in debian. Sharing it here for future users in the same situation. https://git.sp4ke.com/sp4ke/tinyssh-initramfs
I was looking for the same script in debian and could not find it anywhere. I used your logic using initramfs-tools in debian.
Sharing it here for future users in the same situation.
https://git.sp4ke.com/sp4ke/tinyssh-initramfs