Whichever storage you’re using for your Raspbian OS either SD Card, SSD, or HDD; remove it from your board and mount the storage to your computer. Look for the boot partition and push an empty file with a filename ssh
Put your storage back in the board and start your Raspberry Pi.
Connect to your Raspberry Pi with SSH
ssh [USERNAME]@[YOUR PI IP OR DOMAIN HERE]
Note: The default username and password for Raspbian is
pi for username and
raspberry as password, in case you didn’t add a new user or you didn’t change it.
Written with StackEdit.