Hacker News new | ask | show | jobs
by lpasselin 1714 days ago
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...

2 comments

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.