Everything looks OK in /boot/initrd.img-4.15.0-* etc/group etc/passwd root-xxxxxx root-xxxxxx/.ssh root-xxxxxx/.ssh/authorized_keys
NB: root-xxxxxx/.ssh/autorized_keys comes from /etc/dropbear- initramfs/authorized_keys must be in 'dropbear' format, not 'openssh' format, then use dropbearkey or dropbearconvert, and update-initramfs to recreate your initrd image. But it seems that root-xxxxxx/.ssh/authorized_keys isn't expanded properly from initrd !!!??? Because: First, I worked around with /usr/share/initramfs-tools/hooks/dropbear script to create several copies of this authorized_keys in $home and $DESTDIR, then in BusyBox, on (initramfs) prompt, I can find one in / from $DESTDIR, one in /root-xxxxxx/ from $home, but none in /root- xxxxxx/.ssh/ !!!??? Second, I'm booting thru PXE, and iPXE, with an HTTP server, then I have the ability to download authorized_keys, or to move other copies that I stressed above, into /root-xxxxxx/.ssh/, and can, then, log in... Why is not expanded properly even it is well located in the initrd image???? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1645555 Title: Dropbear initramfs hook creates authorized_keys file in an invalid folder To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/1645555/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
