Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Did you know you can enable ssh by placing a file at a specific place on the SD card?

From the documentation page on remote access

For headless setup, SSH can be enabled by placing a file named ssh, without any extension, onto the boot partition of the SD Card. When the Raspberry Pi boots, it looks for the ssh file. If it is found, SSH is enabled and the file is deleted.

https://www.raspberrypi.org/documentation/computers/remote-a...



And if you’re using a 0 or don’t have Ethernet handy, you can also a place a wpa_supplicant.conf file with your WiFi details at the top level of the SD card.


I did know this but I prefer it just working to having to place magic files places.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: