How To SSH Into Raspberry Pi - OnLogic
How To SSH Into Raspberry Pi - OnLogic
___
SSH, or the Secure Shell Protocol, is a network protocol that allows for safe access of
another computer over an unsecure network. This connection, also called an SSH
tunnel, is stable, secure, and widely used by system administrators to manage systems
and applications remotely.
https://www.onlogic.com/blog/how-to-ssh-into-raspberry-pi/ 1/7
14/03/2025, 22:55 How to SSH into Raspberry Pi | OnLogic
This blog covers the steps on how to SSH into a Raspberry Pi system, such as
our Industrial Raspberry Pi series.
Before setting this up, you’ll first need to ensure SSH is enabled. For security reasons,
this feature is disabled by default. If SSH is already enabled and you already know your
Raspberry Pi’s IP, you can skip the first three steps and go directly to How to SSH into
Raspberry Pi.
Note: Steps and/or system specifics may differ from the steps listed below.
To enable SSH, connect your Raspberry Pi to a monitor and follow these steps:
Click on the Raspberry Pi icon on the desktop. Navigate to Preferences, then click
on Raspberry Pi Configuration.
Click on the Interfaces tab and select Enable in the options for SSH.
Click OK.
Alternatively:
Use the arrow keys to navigate to Interfacing Options. Press the Enter key.
https://www.onlogic.com/blog/how-to-ssh-into-raspberry-pi/ 2/7
14/03/2025, 22:55 How to SSH into Raspberry Pi | OnLogic
Click Save, and write the operating system to the storage device of your choice.
*By default, the username is set to pi and the password is set to raspberry. Keeping the
default username and password opens up your Raspberry Pi to malware attacks, so it’s
important to always set up your own secure username and password before connecting
your Raspberry Pi to the internet.
Raspberry Pi IP
The easiest way to find out the IP address of your Raspberry Pi is to check your router’s
homepage, but if your Raspberry Pi is connected to a monitor, you can also check it by
entering the following terminal command:
“hostname -I” *
https://www.onlogic.com/blog/how-to-ssh-into-raspberry-pi/ 3/7
14/03/2025, 22:55 How to SSH into Raspberry Pi | OnLogic
PuTTy
To SSH into your Raspberry Pi from PuTTy:
Open PuTTy.
Under Host Name (or IP address), enter your Raspberry Pi’s IP address or
hostname.
Make sure that Port is set to 22. If the Raspberry Pi SSH port is not set to 22, the
connection will fail.
PowerShell
To SSH into your Raspberry Pi using PowerShell, follow these steps:
Open a terminal on the device you would like to SSH into your Raspberry Pi from. In
these steps, we’re using PowerShell.
https://www.onlogic.com/blog/how-to-ssh-into-raspberry-pi/ 4/7
14/03/2025, 22:55 How to SSH into Raspberry Pi | OnLogic
To open PowerShell, either press Ctrl + Shift + P, or hit the Windows key and
manually search for PowerShell.
Claireice Mathai
Claireice Mathai is a content creator for OnLogic.
When not writing, she enjoys playing guitar and
gaming.
https://www.onlogic.com/blog/how-to-ssh-into-raspberry-pi/ 5/7
14/03/2025, 22:55 How to SSH into Raspberry Pi | OnLogic
Share Via
About Us
Support
https://www.onlogic.com/blog/how-to-ssh-into-raspberry-pi/ 6/7
14/03/2025, 22:55 How to SSH into Raspberry Pi | OnLogic
Contact
https://www.onlogic.com/blog/how-to-ssh-into-raspberry-pi/ 7/7