30 January 2025

SSH to Raspberry Pi

SSH to Raspberry Pi

Steps to SSH to Raspberry Pi

  1. Download the required OS image on to your PC using Raspberry Pi Imager (Rpi Imager)
  2. In the OS Custumisation settings of the Rpi Imager enter:
    • General tab
    • Set a host name for Raspberry Pi
    • Set a username and password for Raspberry Pi
    • Enter the SSID and password of the Wifi node you plan to connect the Raspberry Pi
    • Set the Wireless LAN country
    • Set the locale settings
    • Services tab
    • Enable SSH
  3. Flash the OS on to the SD card
  4. Remove the SD card from the laptop/PC and insert into the SD card slot of Raspberry Pi and power it
  5. If your laptop/PC and Raspberry Pi are connected to the same network, you can SSH to the Pi from your laptop/PC
  6. In a terminal enter the command in the format
  7. ssh <user name>@<host name of Rpi>.local
    For example:
    ssh ros@rpi.local