Remote Control Options for the Raspberry Pi
If you do not have a spare monitor and a keyboard or just want to try something new - there are two different ways to remotely control your Raspberry Pi: via SSH (Secure Shell) or via VNC (Virtual Network Computing). Follow the steps listed below and get it done!
Default Credentials
SSH (Secure Shell)
Step 01: Enable SSH
Note: If you are using Patchbox OS, you may skip this step because SSH is enabled by default.
Option 01: Using Your Computer
- Insert the SD card to your computer's SD card reader
- Navigate to the boot partition of the SD card (boot partition is the smaller one)
- Create a blank file named
ssh
without any extension - Safely remove the SD card and insert it into your Raspberry Pi
- When the Raspberry Pi boots, it looks for the
ssh
file and if it is found, SSH is enabled and the file is deleted
Option 02: Using a Monitor and a Keyboard
- Connect a monitor and a keyboard to your Raspberry Pi
- Power it on and wait for it to boot
- Enter
sudo raspi-config
in a terminal (command) window - Select
Interfacing Options
and navigate toSSH
- Choose
Yes
,Ok
andFinish
Step 02: Connect to Your Raspberry Pi Using SSH
Note: Make sure your Raspberry Pi is connected to your local network using an Ethernet cable or Wi-Fi and you know the IP address of your Raspberry Pi!
Option 01: Using Windows, Linux or macOS Computer
- Connect your computer to the same Network as your Raspberry Pi
- Open a terminal (command) window and run
ssh username@ip_address
(use the IP address of your Raspberry Pi and the correct credentials)
Option 02: Using Android or iOS Device
- Download the Termius App
- Connect your device to the same Network as your Raspberry Pi
- Open the Termius App
- Enter an alias of your choosing
- Enter the IP address under the hostname
- Complete the username and the password fields and hit Save (see here for default username and password)
VNC (Virtual Network Computing)
Step 01: Connect to a Shell on Your Raspberry Pi
Option 01: Remotely via SSH
- Connect your computer to the same Network as your Raspberry Pi
- Open a terminal (command) window and run
ssh username@ip_address
(use the IP address of your Raspberry Pi)
Option 02: Using a Monitor and a Keyboard
- Connect a monitor and a keyboard to your Raspberry Pi
- Power it on and wait for it to boot
- Open a terminal (command) window
Step 02: Install & Enable VNC
Note: If you are using Patchbox OS, you may skip this step because VNC is enabled by default
- In terminal (command) window run
sudo raspi-config
- Select
Interfacing Options
and navigate toVNC
- Choose
Yes
,Ok
andFinish
Step 03: Connect to Your Raspberry Pi Using VNC
Note: If you are using Patchbox OS and did not choose desktop
or desktop autologin
as the boot environment
, you can still initiate the graphical interface by running the startx
command, either while connected via SSH or using a keyboard connected directly to the Raspberry Pi. You can also change the boot environment
setting by running patchbox
command and going to the 'boot' menu.
- Make sure your Raspberry Pi is connected to your local network using an Ethernet cable or Wi-Fi
- Download the RealVNC Viewer
- Launch the RealVNC Viewer and enter the IP address of your Raspberry Pi
- When asked, enter the username and the password
Comments & Questions
For more tips & tricks join our community forums! 👋If you have any questions about the information on this page let us know below! 👇