thumb The Raspberry Pi is a great single board computer. However I don’t always want to hook up the Raspberry Pi to some screen and keyboard when working with it. I like to do everything using SSH which is enabled out of the box if you are using the Raspbian distribution. So just hook up it to your router and start hacking. But what if now you don’t have router and only have the Mac?

The Raspbian is configured by default to receive an IP address from a DHCP server. So you need a DHCP server. This can be done using the sharing option in Mac OS X. Just set it up like that. Mac OS X Sharing

Once you have enabled this option just connect your Mac and Raspberry Pi using an ethernet cable. Also note that you don’t need a special “cross-over” cable.

Now you can login to the Raspberry Pi at IP-address with Username: pi, Password: raspberry.

1. Open up a new Terminal on your Mac.

2. Connect to Raspberry Pi:

ssh pi@

3. You’ll be prompted to verify you’re trying to login to the Raspberry Pi. Type yes an press return.

4. Type the password. The default password for the Raspbian image is raspberry. Type raspberry and press return.

You’re logged into your Raspberry Pi!

Arthur Gareginyan

Arthur Gareginyan

Arthur is a designer and full stack software engineer. He is the founder of His personal website can be found at Check out his free WordPress plugins at

Follow Arthur: