Setting up the Raspberry Pi for SSH

This morning’s task was to get remote access to Raspberry Pi using SSH. Getting this working is a boon to my development process as I have limited desktop space to support multiple monitors, keyboards and mice. With remote access, I can have my main monitor plugged into the pi, whilst working on my laptop tunneling into the pi.

First, I downloaded Transmit for the mac. What a sweet little piece of software! Transmit allows you to copy files to the pi by way of SFTP once you’ve got ssh setup.

There are a number of sites which document getting the Raspberry Pi setup for ssh, some of which leave out critical bits of information. For instance, most instructions that I found have you enabling SSH as their first step. The latest Debian Wheezy image has this enabled by default, so you can skip that bit. The raspberry pi advanced setup page has detailed instructions. And you can find a little bit about setting up your public keys here.

I recommend using  zeroconf setup as outlined in the advanced setup page. If you are anything like me, having a static IP on your home network just won’t work given the number of devices that are constantly wrestling for IP addresses.

Tomorrow’s task… Cross compiling to the pi!

Comments are closed.