General Recipes for the Raspberry Pi

Connecting to the Raspberry Pi via SSH

SSH is a protocol to securely connect to a computer. Via SSH you can access the command line, just as if you connected to the computer with a monitor and a keyboard. By default, the Pi has SSH enabled.

Windows: SSH via Putty
You can download Putty from here. The Raspberry Pi Foundation has a quick introduction here.

Mac and Linux
On Mac and Linux, SSH is already installed and available within the terminal.

http://www.raspberrypi.org/documentation/remote-access/ssh/unix.md

To log into the Pi via ssh, type:

ssh pi@<ip-address>

Replace <ip-address> with the IP address of the Pi.

Shutting Down and Rebooting Gently

Just unplugging power may leave the file system corrupted. To properly shutdown, use the following commands:

sudo halt

or, to reboot:

sudo reboot

Using a Monitor Connected to the Pi

Simply start your Pi with a monitor connected, and it will print out its ip address right before it finishes starting up. You can also get the IP address with the following command: