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
- Flash your SD card with your favorite flashing tool (dd or Win32DiskImager).
- Mount the ‘Boot’ partition to your file system.
- Create a text file with the name ‘SSH’ and no extension within the boot partition.
- Insert the SD card and power up your Raspberry Pi.
- Connect to the newly started SSH server!