Raspberry Pi SSH

Raspberry Pi SSH is a way we’re able to communicate to the PI over a network so we no longer need to be physically located near the Pi.

SSH or secure shell for anyone who is unfamiliar with the term is a common cryptographic protocol for communication over networks. It allows us to be able to use command-line without actually being on the Pi. This is fantastic for a lot of Raspberry Pi projects that don’t actually require you to be on the Pi itself.

If you want to see it done visually then check out my video below, if you like my stuff please subscribe so you can stay up to date on all the latest and greatest Raspberry Pi projects, guides and much more.


This is the equipment I have used in this guide.

How to SSH into Raspberry Pi

Firstly we will need to have Raspbian installed if you haven’t installed it then check out my installing NOOBS Raspberry Pi. This will take you through all the steps you need to do before you start this guide.

Enabling Raspberry Pi SSH Server

The Raspberry Pi SSH Setup requires us to use the raspi-config tool to enable it. In order to do this we will need a keyboard, mouse and a screen for the Pi. Once we have done this we will no longer any of these items.

  1. First turn on and login to the Raspberry Pi. (Remember default username is pi and password raspberry)
  2. If you need the IP Address now would be a good time to get it. To do this simply type:
hostname -I
  1. Now type the following command:
    sudo raspi-config
  2. Now in here go to Advanced Options->SSH
  3. Enable SSH and reboot the Pi

Now that we have enabled SSH we will need to connect from another computer.

Windows: SSH Raspberry PI

If you’re a windows user then this process is pretty straight forward. We will need to get a free application called Putty first and use that to simply connect to the Raspberry Pi SSH.

  1. To SSH on windows we will need an additional tool called Putty. You can download putty.
  2. Download the putty.exe under “For Windows on Intel X85”
  3. Now once that is installed load the putty.exe
  4. In this screen we will need to input the IP of the Raspberry Pi into the Host Name Field
  5. The port should be 22
  6. Now click on open
  7. You will be prompted with a security alert, simply click yes to this
  8. Now login with the default username pi and password raspberry. (Unless you have already changed this)

Raspberry Pi Putty

You’re now able to connect to the Pi and send commands remotely rather than needing to be at the Pi itself.

Mac: SSH to Raspberry PI

To connect to the Raspberry Pi SSH on mac or Linux is very easy all we need to do is connect using the terminal.

If you’re using a Mac then we will be able to use terminal to simply connect. If you’re using a mac this is found under utilities within the applications folder.

  1. Open the terminal
  2. Replacing with your own Raspberry Pi IP address issue the following command.
    ssh [email protected]
  3. You will now receive a security warning type yes to continue.
  4. You should now be prompted for the password for the user pi. The Raspberry Pi default password is simply raspberry.
  5. You should now be able to control the Raspberry Pi through the terminal.

Raspberry Pi Mac SSH


If you’re having trouble trying to get this to work here are a few tips you can try to get the connection to work.

  • “I am getting a connection error”
    • Ensure you have the correct IP address and you have also enabled SSH in the raspi-config
    • Make sure the Pi is connected to the same network as you are on. (Unless of course you have setup port forwarding and connecting outside the network)
  • “I am getting access denied”
    • Make sure you are using the correct password, the default is raspberry but remember you may have changed it earlier.

I hope this guide has shown you how to SSH to the Raspberry Pi however if you’re still having trouble feel free to drop us a comment below. (Also feel free to comment on anything regarding this guide)

The Raspberry Pi Crash Course

The Raspberry Pi Crash Course

Enter your email address below to get the

Raspberry Pi crash course delivered straight to your inbox

Please check your inbox for a confirmation email!