C:\cd windows

Enable a SSH Connection on your Raspberry Pi

Posted on January 21st, 2016

One of the great things about the Raspberry Pi (so many to choose from) is the ability to run a fairly powerful server with very low power usage.

If you’re doing this the chances are you want to login to a Secure Shell (SSH) Terminal session from another PC on your network, probably using something like PuTTY. SSH is not enabled on boot by default on the Debian “squeeze” build but don’t worry, it very easy to change.

If you’d rather have remote access to a desktop session or see more information about setting up the IP Address on your Pi checkout the Raspberry Pi Beginners Guide. Note you can enable SSH and the VNC server at boot.

Enable SSH on the Raspberry Pi

Simply open up a Terminal window and enter the following:
Top Tip!Remember you can enable SSH using the Raspberry Pi Config Tool. Just run “sudo raspi-config” at the terminal.

sudo mv /boot/boot_enable_ssh.rc /boot/boot.rc

That’s it! Reboot the Pi and point your favourite SSH client to the Raspberry Pi IP Address (default port 22).

Use your username and password to log in, the default is:

Username: pi
Password: raspberry

If you want to connect from a Windows machine, checkout the brilliant and free PuTTY.