SSH is a secure method of logging onto a remote computer. If your Pi is networked then this can be a handy way of operating it from another computer or just copying files to or from it.
SSH is Secured SHell .
First you have to install the SSH service.
The wheezy Raspbian OS comes with SSH telnet access enabled, and this is a great way to get terminal access to your Raspberry Pi over network ,without having to hook it up to a monitor and keyboard.
All you need is to connect your Raspberry Pi to power and an internet connection.
Open the LXTerminal & type in sudo raspi-config
The list of set up options is displayed.Move down to select Advanced Options.
Under Advanced Options window select SSH.
Enable the SSH service
Click on OK & then FINISH.
Reboot your PI.
To connect PI over network you should know the IP address of PI.
You can type in either of the following command to learn the address.
ip addr show
By default the Raspberry Pi will be allocated an IP address by your router. However, next time you power it up the router may allocate a different IP address. This is a problem because in order to connect through SSH we need to know the Raspberry Pi’s IP address on your local network, and we can’t see this if we don’t have a monitor attached.
There is a a great free tool called Advanced IP Scanner to find out the IP address.
Download it from
Run the tool & click on Scan button.
You can see the PI detected on network.Note down the IP address.
Now we shall see how to connect to PI from a distant computer.We make use of PuTty software .This is an excellent software that works on Windows as well as Linux platforms.
Download PuTty from here :
Open the PuTty terminal & under host name enter the IP address of Raspberry PI.
Ensure that port is 22 & connection type is SSH.
Click on Open
The PI is contacted over Network & it’ll ask for login & password.
Enter login as : pi
password as : raspberry
, all in small letters.
You get the prompt pi@raspberrypi ~ $
where pi is the username
raspberrypi is the host name
~ is the current working directory of shell
$ is the shell prompt.
Now you can issue commands as if you are in front of PI.
Important Note :
The address range starting 192.168.x.x are purely for use on LOCAL NETWORKS only.
It is non routable & someone on other side of router (on internet) cannot directly access that address.
Watch this support video :