Wednesday, June 17, 2015

Using SSH to Access Your Pi's Terminal Remotely

In this tutorial I will show you how to use SSH and PuTTY to access your Pi's command line from a Windows computer.

Time: 5 minutes
Difficulty: Easy

You Will Need:

  • A Raspberry Pi running Raspbian.
  • A keyboard and mouse. You can also use Remote Desktop.
  • A Windows computer.
Steps:
  1. Log in to Raspbian and open the terminal.
  2. Type sudo raspi-config and press Enter.
  3. Use the arrow keys to navigate to "Advanced Options".
  4. Use the arrow keys to navigate to "SSH"
  5. Navigate to the "Enable" button and press Enter.
  6. You will see a screen saying that SSH is enabled. Hit "OK".
  7. Navigate to the "Finish" button and press Enter.
  8. You will be prompted to restart your Pi. Hit the "Yes" button.
  9. You are done with setup on the Pi. Now we will install PuTTY on your Windows machine from the PuTTY website.
  10. Go to the link in step 9 and install PuTTY.
  11. When you open PuTTY you chould see something like this.
  12. Enter in your Pi's IP address in the box labeled "Hostname (or IP address)"
  13. Set your "Connection type" to SSH
  14. Click "Open" (You can save your setup for later by clicking save)
  15. You will have to log in to your Pi with your username and password.

  16. You should now see the command line of your Pi.