Use Ssh to Talk With Your Raspberry Pi.

Introduction: Use Ssh to Talk With Your Raspberry Pi.

This brief guide explains how to use ssh to talk with your Raspberry Pi.

You will need:
1 Raspberry Pi connected to your router
(Monitor and keyboard.)

If you are looking for a guide to access your Raspberry Pi from the internet look here:

Step 1: Enable Ssh on Raspberry Pi

Login with the following information when prompted:
Username: pi
Password: raspberry

Type the following command:

sudo raspi-config
in the terminal, then navigate to ssh, hit Enter and select Enable or disable ssh server.


After Pi is restarted check ip-address with the command

Note the inet addr!

It is a good idea to change password. This is done with the command:
sudo -i
passwd pi
Remember the new password!

After this step you'll not need to use monitor and keyboard to run commands on your Raspberry any more. See next step!

Step 2: Install Putty on Your PC

Download and install putty.

Start putty.

Add new config with the ipaddress from previous step. (for i.e and port 22)

Save. Click open.

You'll be prompted
If you done right...

Login with username pi and the password you entered in previous step. (Default password is raspberry)

If you want to install a webserver on your Raspberry Pi look here: - all you want to know about what google knows about you.

May the Pi be with you!



    • Metalworking Contest

      Metalworking Contest
    • Tiny Home Contest

      Tiny Home Contest
    • Water Contest

      Water Contest

    21 Discussions

    This is out of date. the recent release of debian for the pi does not have an SSH option in that menu.

    1 reply

    To help anyone who runs into that, the updated instructions for the menu should be to click "Interfacing Options" in the menu, and THEN click SSH.

    Thank you! i needed this to program the pi for m son's PiCar.

    Can you check the IP adress many times?

    I type sudo raspi-config in the terminal and get "no command found." Same thing with sudo ifconfig. What is wrong?

    1 reply

    oddly I get the message that I have to add the correct key in my 'known host file'

    The title or introduction should precise that the PC parts instructions are is for MS Windows.

    2 replies

    You don't need MS Windows to enable ssh. You might need a computer running windows/mac os/linux to communicate with the rpi through wifi.

    Yes I know you don't need M$Windows to use ssh, I just meant that your good instructable is specifically about using ssh on M$W to communicate with the pi.

    I have "Initial ssh key generation still running. Pleas wait and try again" after I hit SSH in the terminal. Help?

    1 reply

    Try turning it off and back on. If still no luck, reinstall os.


    2 years ago


    If you want to remotely ssh access you need port forwarding, static ip or ddns.

    The easy way is Terminalify ( You can access remote linux device without static ip, port forwarding via Terminalify.



    To go further, here is explained how to keep in touch with a Pi even if it's ip address is dynamicaly allocated (dongle 3G...) :

    Step 1 no longer works in the current version (running Wheezy at the moment, but I'm not sure when it changed). In the current version you need to run raspi-config, go to 8 Advanced Options, and then A4 SSH where you can enable or disable SSH access.

    1 reply

    You are absolutely right! It is a Linux box, but smaller and funnier! =} Leave a "Computothoght was here" on indexpage if you hack it... and post your step by step instructable in the Raspberry contest and you'll surely win. :) With respect, A