There is a perfectly good how-to at

Once you follow that, be sure to create an empty file named “ssh” in /boot on the SD Card. This will enable you to connect to your Pi via SSH, even if you’re running a “headless” Pi with no monitor.

Return to Basic Raspberry Pi Setup