Enable SSH and first access

By default, access via ssh is not enabled on your Raspberry. To change this, insert the SD card into your computer’s card reader, go to the root of the boot partition and place an empty file with the name ssh.

touch ssh

Once this is done, insert the SD card back into the Raspberry and connect it to your LAN using an Ethernet cable.

First access

Now, time to ssh into the raspberry for the first time! To do so, we need the private IP of the Raspberry, which you can find looking into your local network in the router preferences or using tools such as Nmap. Once known, you can ssh using the default credentials:

field

value

user

pi

password

raspberry

Nmap is a free and open-source network scanner created by Gordon Lyo.

ssh pi@${PRIVATE_IP}

Once connected, look for updates.

sudo apt-get update
sudo apt-get upgrade --yes

Finally, restart your raspberry

sudo reboot

Last updated