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
- 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 a
FATfilesystem, so all major operating systems should be able to open it.
/bootpartition of the SD card (not the
/bootof your system, obviously) and create an empty file named
On a Mac/Linux machine
On a Windows Laptop
Use notepad to create the empty file. Make sure it doesn’t have the
And that’s it. Boot the Pi and you should be able to ssh to the Pi with the default username and password