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 pi@192.168.1.1 (if the IP address is 192.168.1.1)
Note that, the default username of Raspbian is pi and the default password is raspberry.
enable SSHinto the search line on the top of this side and hit enter: https://raspberrypi.stackexchange.com/search?q=enable+SSH – Ingo Oct 31 '19 at 09:59