How to configure a headless Raspberry Pi with SSH on the first boot
en linux raspberry pi tinkering
A quick post so I can find it in the future when I will inevitably have forgotten how to do this :)
Say you want to install a Raspberry Pi running Raspberry Pi OS (fka Raspbian), but you don’t want to connect a screen and keyboard to it for the initial configuration steps - here’s how you do it completely over SSH from the first boot.
Write the Raspberry Pi OS image to your SD card as normal Mount the newly written /boot partition on the Pi on your computer Create an empty file named ssh, without a file type / ending.
Read more...