Enable Headless SSH On First Raspberry Pi Boot

You may wish to connect to your Raspberry Pi over SSH before you’ve had a chance to connect a monitor to the board. It is possible to enable the SSH service in Raspbian by including a special file in the boot sector of the boot SD card.

Steps

  1. Flash your SD card with your favorite flashing tool (dd or Win32DiskImager).
  2. Mount the ‘Boot’ partition to your file system.
  3. Create a text file with the name ‘SSH’ and no extension within the boot partition.
  4. Insert the SD card and power up your Raspberry Pi.
  5. Connect to the newly started SSH server!

Print Friendly, PDF & Email