Enable SSH first boot on a Raspberry Pi
05/17/2022
If you’re like me and you have many Raspberry Pis it’s sometimes a pain to hook up a monitor to the little computer to enable SSH on the first boot. This will probably only work if you’re on a Mac. Definitely won’t work on windows, maybe would work on linux, but probably not without some path modification.
The idea is to touch a file called ssh in the boot directory of the Pi’s sd card.
I learned today if you execute touch /Volumes/boot/ssh
or for ubuntutouch /Volumes/system-boot/ssh
SSH will be enabled on the first boot. Very handy, love it!