It's simple. After you write an
.img file to the SD-Card, you can find a boot partition.
You just need to add an empty file that is named
ssh without any format extensions in this partition. After that, plug the SD-Card into the raspberry pi and turn it on.
With the DHCP server of your Access point or something like that, you can find the IP address of the raspberry pi and try to make an SSH connection.
First method: Using PuTTY on Windows.
Second method: Using
ssh client command on Linux:
ssh email@example.com (if the IP address is 192.168.1.1)
Note that, the default username of Raspbian is
pi and the default password is