Using SSH On A Mac Or Linux | Adafruit's Raspberry Pi Lesson 6 ...

Skip to main content Adafruit's Raspberry Pi Lesson 6. Using SSH Using SSH on a Mac or Linux
  • Overview
  • Enabling SSH
  • Using SSH on a Mac or Linux
  • SSH under Windows
  • Test & Configure
  • Single page
  • Feedback? Corrections?
  • Text View
Groups
  • Learn Raspberry Pi
Featured Products view all
  • Angled shot of a Budget Pack for Raspberry Pi 1 Model B. Budget Pack for Raspberry Pi 1 Model B (Doesn't include RasPi) No Longer Stocked
  • Cover of Programming the Raspberry PI: Getting Started with Python Programming the Raspberry Pi: Getting Started with Python $17.00 Add to Cart
81 Intermediate Skill guide

Using SSH on a Mac or Linux

Now switch over to using the computer from which you wish to control the Pi.

If you are using a Mac or Linux PC then open a Terminal. On the Mac, you can find this in the Utilities folder of your Applications folder.

Enter the following command into the Terminal window. That's a lowercase L after the dash!

Download File Copy Code ssh 192.168.1.13 -l pi ssh 192.168.1.13 -l pi

You can also use ssh [email protected]

Note that you will need to replace the IP address above with that of your Pi. You can find this by running the command “sudo ifconfig” from the Terminal.

learn_raspberry_pi_finding_ip_address.png learn_raspberry_pi_mac_ssh.png

The option “-l pi' specifies that we want to log into the Pi as the user “pi”. The first time you run the command, you will get a security warning about not being able to verify the identity of the machine, say that you want to continue and enter your password (“raspberry” by default) when prompted.

You will notice that the command prompt will change to indicate that you are now connected to your Pi. Try using the “ls” command to show the contents of the current folder on the Pi.

Page last edited March 08, 2024

Text editor powered by tinymce.

Enabling SSH SSH under Windows Related Guides Raspberry Pi Wifi-Controlled Cat Laser Toy By Tony DiCola intermediate Instant Camera using Raspberry Pi and Thermal Printer By Phillip Burgess intermediate Naughty or Nice Machine By Brian Corteil intermediate Controlling Motors using the Raspberry Pi and... By Simon Monk beginner OctoPrint - Open Source Host Software By Justin Cooper intermediate Adafruit's Raspberry Pi Lesson 11. DS18B20... By Simon Monk beginner Local LLMs on Raspberry Pi By Tim C intermediate Portable 5in Monitor with HDMI By Ruiz Brothers intermediate Nokia 5110/3310 LCD Python Library By Tony DiCola beginner PiGRRL 2 By Ruiz Brothers intermediate Windows IoT Core Application Development: Headed Blinky By Rick Lesniak beginner 5" Display Kippah Portable Raspberry Pi By Ruiz Brothers intermediate Adafruit's Raspberry Pi Lesson 9. Controlling a DC... By Simon Monk beginner Adafruit Pi Cobbler Kit By lady ada beginner Skill Badge Requirements: Raspberry Pi By Adam Kemp beginner
Create Wishlist
× Title Description Close Search Search
Categories

Tag » How To Ssh On Mac