Login Guide
This document describes how to log in to Raspberry Pi using a remote terminal via SSH protocol.
This tutorial assumes that you are using a clear Raspberry Pi OS or HARDWARIO Raspbian.
Find out Raspberry Pi IP
In the case, you want to connect to your Raspberry Pi by IP Address you need to find out what address the DHCP server assigned to your Raspberry Pi.
Every method mentioned below assumes that you are on the same network as the Raspberry Pi.
There are several ways to find out what address the DHCP server assigned to your devices:
- Login to your router and go to DHCP Clients, LAN Status or something like that, this varies depending on the router
- Use computer utilities like Advanced IP Scanner (Windows), IP Scanner(macOS) or some Linux utility
- Use a mobile app like Fing
You will be looking for a device with a specific hostname like raspberry.local.
Connect With PuTTY
You can use PuTTY, which is an application that allows you to connect to a remote terminal via SSH and other means.
Download the PuTTY application
Open PuTTY and you should see this screen
Add your hostname or IP Address (here it is a
hub.local
)Select SSH if not already selected
Click Open
Log in:
- username:
pi
- password:
raspberry
- username:
You should be logged in to your Raspberry Pi. We recommend changing the password (if it was not changed while flashing the microSD card) and updating the system. After that, you can visit the Command Line Tool section to learn about the tools installed on the Raspberry.
Connect With Terminal
On all systems, you can open the integrated terminal and connect with the ssh
command
Open a terminal and run the following command:
- Hostname
- IP Address
The hostname will be different based on what installation you went for
ssh pi@hub.local
ssh pi@raspberry.local
ssh pi@IP_ADDRESS
- Log in:
- password:
raspberry
or any other that you choose
- password:
You should be logged in to your Raspberry Pi. We recommend changing the password (if it was not changed while flashing the microSD card) and updating the system. After that, you can visit the Command Line Tool section to learn about the tools installed on the Raspberry.
Change the Password
You should always change the default password. You can do that simply by running passwd
command in the terminal.
Update the System
For reasons of security and stability, it is important to keep the system up to date. The system consists of packages and you can update them with the following command:
sudo apt update && sudo apt upgrade