📂
my database
  • Introduction
  • Home setup
    • Raspberry
      • OS Installation
      • Enable SSH and first access
      • SSH configuration
      • Change default credentials
      • Home DNS
      • WiFi USB
      • Live cam
      • ESP32
      • AD/DA
      • Humidity sensors
    • Remote access
      • ssh
      • Turn on/off remote computer
      • Dynamic DNS
      • Remote ssh
      • Home VPN
  • GNU/Linux commands
    • locale
    • crontab
    • chmod
    • router
  • Future sections
    • Topics
  • Research
    • Introduction to Sustainability
Powered by GitBook
On this page

Was this helpful?

  1. Home setup
  2. Raspberry

Enable SSH and first access

PreviousOS InstallationNextSSH configuration

Last updated 3 years ago

Was this helpful?

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

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

ssh pi@${PRIVATE_IP}

Once connected, .

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

Finally, restart your raspberry

sudo reboot

Nmap
look for updates