Raspberry Pi Adventures: Part 2 – SSH and Git

This is going to be short and sweet, because it’s extremely simple.

Using SSH With Your Pi

You started your Pi, you’re on the network, what to do.

From the command line:

sudo raspi-config

Look at this GUI. It is old old old, but don’t get distracted. Hop to “Advanced Options” and press Enter. There you will see A4 SSH – Enable/Disable remote command line access to your Pi using SSH. Go there, press Enter. Would you like the SSH server to be enabled? This isn’t a trick question. Just press Yes.

Good, now hop onto one of your other 18 computers and open the Terminal. I got ahead of myself. Back to the Pi.

ifconfig

Lookie there. Lots of stuff to behold. Inside “wlan0” you should see a “inet addr: ###.###.#.###” or something along those lines. That thar be your IP address. also, Pi backwards is IP. Think about it.

Back to the other computer sitting idly by with Terminal open.

ssh pi@thenumberfromearlierthatyounowhave
password: raspberry (unless you updated it somewhere)

Congrats, you now have access to your pi via SSH.

Installing Git

You may find that you like to pull in projects from GitHub (possibly your own) to your Raspberry Pi. If that’s the case you’ll need to install Git. Super easy again.

sudo apt-get install git

Things will happen and it will end up installing git for you. Clone away! See, short and sweet. Best of luck.

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

John Hartley is a Director of Product Engineering at Beam Dental in Columbus, OH. With 7+ years of leadership experience he has worked in startups, agencies, and began his career as a freelance Front End Developer. Always looking to iterate, this blog is a place for him to share his knowledge as well as hone his craft, challenge assumptions, and build a strong base of leadership and management knowledge. Connect with him on LinkedIn

0
Would love your thoughts, please comment.x
()
x