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.