Connect to Raspberry Pi using SSH

Connect to Raspberry Pi using SSH

Introduction

SSH, the Secure SHell, is a replacement for RSH. It provides a secure, encrypted connection, through which you can have normal, interactive logins to or from the remote machine. It also comes with SCP, a replacement for RCP.

Required Software

PuTTY (for windows only)



Steps Required

  1. On your Raspberry Pi, open a terminal window. Type in,sudo rasppi-config then go to interfacing options and enable SSH.
  2. In the terminal window, type in ifconfig to get your IP address.
  3. Proceed with the following steps depending on your OS.

Windows

  • Open PuTTY and type in the IP address of your Pi under the hostname.
  • Now you can just easily enter your id and password to log in.

MacOS/Linux

Open the terminal window and copy and paste the following command into the terminal window but replace <IP> with the IP address of the Raspberry Pi.

ssh pi@<IP>




Screenshots



Leave a Reply

Your email address will not be published. Required fields are marked *

Copyright ©️ 2019 Naman Tech Labs. All Rights Reserved.