|Tips on using PuTTY to log onto your Pi|
Many people set up their Raspberry Pi using images (like those by Brian GW6WTK, westerndstar.co.uk) which have a windowing server (x11vnc) installed and running at boot time. They use a VNC client, like TightVNC, to log on from their main PC to the Pi windowing desktop. If they need to issue native Linux commands, they open LXTerminal.
Some people however, prefer to log on directly using the SSH protocol. If you don't need the graphical windows, or you set up your Pi to not start the x11 server at boot time, SSH provides a simple and quick way to access and manage the Linux system on your Pi.
A popular SSH client is PuTTY, available from http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html. Once it is installed, open it. As with TightVNC, you will need to know the internal IP address your router has assigned to your Pi. Just enter that in the Host Name field. Leave the Port set to the default 22. Connection type should be SSH. Click the Open button and your will be prompted for the user, then password. The westerndstar.co.uk images come with userid pi, whose password is raspberry. (If you would prefer to log on as root instead of pi, see footnote for how to set the root userid password.)
One-time settings improvement
You will soon want to save settings, which PuTTY allows. Before doing that, I suggest you make the following one-time tweak to the Default Settings to improve PuTTY's look and operation. The system colours box will make the SSH window easier to read, particularly if you issue the Linux ls command. The Seconds between keepalives setting will keep your session from timing out and being disconnected from your Pi.
Setting up and saving
a configuration for your Pi
This will allow you to quickly access the needed settings to log onto your Pi.
Using a saved configuration
Note: Users of the westerndstar.co.uk image can change the root password to anything they want, allowing them to log on directly to their Pi as user root. This avoids having to prefix many commands with sudo, if those commands require root authority. Just log onto the Pi using TightVNC and user pi, password raspberry. Then open LXTerminal. Enter "sudo passwd root" (without the quotes), then enter the new root password. After that, you can use PuTTY to log onto to your Pi. Just enter root for the username, followed by the new password.
Copyright © 2009-2014 James M. Moen. All rights reserved.