If you are trying to setup your Raspberry Pi ( Running Raspbian ) without a monitor, you might be in for a surprise. Well, the new Raspbian versions do not have SSH enabled by default, and for good reason. Most people who setup a RaspberryPi do not even change the default password and they connect it to the internet. And these RaspberryPis become part of a botnet in no time.
Anyways, let’s see how to enable SSH.
Enable SSH in Raspbian Link to heading
-
Prepare the SD card with Raspbian
-
Connect the SD card to your Linux/Mac/Windows laptop
-
Open the
/bootpartition of the SD card. This is aFATfilesystem, so all major operating systems should be able to open it. -
cdto the/bootpartition of the SD card (not the/bootof your system, obviously) and create an empty file namedsshOn a Mac/Linux machine Link to heading
touch sshOn a Windows Laptop Link to heading
Use notepad to create the empty file. Make sure it doesn’t have the
.txtextension
And that’s it. Boot the Pi and you should be able to ssh to the Pi with the default username and password