I used to just dd the image, touch the 'ssh' file on the boot partition, and then change stuff over ssh.
I used to just dd the image, touch the 'ssh' file on the boot partition, and then change stuff over ssh.
> This file should contain a single line of text, consisting of username:encrypted- password – so your desired username, followed immediately by a colon, followed immediately by an encrypted representation of the password you want to use.
> To generate the encrypted password, the easiest way is to use OpenSSL on a Raspberry Pi that is already running – open a terminal window and enter
echo 'mypassword' | openssl passwd -6 -stdin
> This will produce what looks like a string of random characters, which is actually an encrypted version of the supplied password.From the anouncement [0], under "Headless setup".
[0] https://www.raspberrypi.com/news/raspberry-pi-bullseye-updat...
The only people to understand the comment, are the ones it won't help.
For all other kind of early sys admin tasks for a headless system you can mount the image to your Linux workstation and chroot into it using binfmt_misc and qemu-static. https://wiki.debian.org/RaspberryPi/qemu-user-static seems to describe it. (I haven't used those instructions, but my own 10 year old cheatsheet.)
https://9to5linux.com/raspberry-pi-imager-now-lets-you-contr...
I wouldn’t be too worried, there will likely be a solution for “power users” who use the ssh file.