files/etc/uci-defaults/99-custom
into the repo
Ok it works except he permissions for /root/.ssh and /root/.ssh/authorized keys should be more restrictive. I'll merge, you can fix it in a separate PR.
key is now in the right location. The permissions are too loose though. Can we maybe put it into the subdirectories into files
? Like files/root/.ssh/authorized_keys
?
regarding sshd,…
Looks ok, I'll be able to test on Tuesday.
I think this is not run. Maybe it's about the current directory?
/etc/uci-defaults/99-custom
is executed upon each boot. Maybe then as a last step, it should remove itself?The doc [says](https://openwrt.org/docs/guide-developer/uci-defaul…
PermitRootLogin no
should be replaced withPasswordAuthentication no
It seems to be set by default, at least `staging_dir/target-aarch64_cortex-a72_musl/root-bcm27xx/etc/ss…
After further testing, it looks to be some filesystem weirdness. I modify distroconfig.txt to enable the USB, as otherwise I can't use the keyboard. If I do this before first boot, the root…