Posts

SSHing from an Macbook M1 to a Raspberry Pi

Image
I've been wanting to learn how to utilize the Secure SHell protocol, or SSH.  I tried it, and it does not disappoint!  So what is it? With the SSH command and knowledge of a device's username, password, and host information access a network-connected device's terminal from another network-connected device, securely.   What does that mean? Well, you can go play around in another computer's terminal from another device!  SSH is a S ecure Sh ell, and you can use a simple "ssh" command to start an SSH session on another device. In this example, I used my M1 Macbook to SSH into my Raspberry Pi 4.  I opened up Terminal in Mac. Once the command line is open, you can start an SSH session with the following command: example@Macbook-Air ~ % ssh [user]@[host/ipaddress] so if you're trying to SSH into a Raspberry Pi, you'd type something like: example@Macbook-Air ~ % ssh pi@124.56.211.5 Of course, I encountered a problem.  I had not enabled SSH access on my Pi....