Is SSH enabled by default on the Raspbian Wheezy 7 install image? And if it is, which IP address is used so I can access Pi via PuTTY and Filezila?


As per Philippe Lhardy's answer current (post ~2016) versions of Raspbian do not have SSH enabled by default.

5 Answers 5


SSH is enabled by default only for Raspbian releases before November 2016 but the boot protocol for the ethernet interface is set to DHCP by default so the IP address will be assigned by your router. You can find the open SSH ports on your network using the nmap utility:

nmap -p 22 --open -sV

You should find your pi listed in the output along with the IP assigned to the pi.

You can change the boot protocol to static and define a static IP address for the pi by editing the ifcfg-eth0 file:

vi /etc/sysconfig/network-scripts/ifcfg-eth0 

Then edit the file to suit your needs

  • 4 belongs to the "Italian national computer network for universities and research" — you probably meant instead. Also, there's no guarantee that the router will use (or even, so you should determine the local network prefix first (e.g. using ifconfig).
    – n.st
    Commented Apr 29, 2014 at 18:11

In Windows Command line, or any OS that has ping command you can type in:

ping raspberrypi

enter image description here

It will resolve the DNS entry and show you the IP address. In the image as

But of course, you might just connect using the host name raspberrypi instead of IP.

This all assumes that you are using a router with DHCP and DNS running on it. Most internet ISP will provide you with a router that does this out of the box. But if you got custom DHCP or DNS, then you should really know how to find/set the IP yourself.

  • trying to ping or connect as rasperrypi doesn't work..i found out address by scanning ip's...
    – zsn
    Commented Apr 30, 2014 at 7:01
  • It seems like you have a network problem. You should be able to connect to raspberrypi, but I understand all networks have their issues. The fact that you can connect using IP, and its still slow, means its not DNS problem on the Pi (even though you have a DNS issue any way) - You should try get a new SD card, burn a new image and give it a go. I bet it will back as normal
    – Piotr Kula
    Commented Apr 30, 2014 at 8:15
  • What do you think is an issue there?
    – bot47
    Commented May 2, 2014 at 8:47
  • 1
    On OSX, raspberrypi.local would be better.
    – Tim Wu
    Commented Oct 16, 2016 at 13:43
  • so, this pretty much would mean netbios naming is enabled on raspbian by default
    – ZJR
    Commented Dec 7, 2016 at 14:30

I don't know whether it is installed by default, but if it isn't, setting it up is pretty straightforward: in your shell, enter the following command

   sudo apt-get install ssh

after the installation is over, you can start the service via

   sudo /etc/init.d/ssh start

To find the IP address of your RPi, use


and look for the inet line, you'll fing your IP there.

  • Careful though, you'll need to be on your local network to connect via ssh that way. If you want to connect from a remote network, consider looking into port forwarding as explained in this article. Be careful though, it is a bit more complicated. Commented Apr 29, 2014 at 14:37
  • Well I was looking for a way which doesn't include connecting my pi to monitor or tv...
    – zsn
    Commented Apr 29, 2014 at 14:38
  • 1
    That will be complicated. If you have another computer, you can try using nmap to get your Pi's IP but if the ssh service isn't running you won't get very far.. Commented Apr 29, 2014 at 14:42

I know this question was for Raspbian Wheezy, just to warn that in Stretch you have to create an empty file called ssh file in boot filesystem to activate SSH at startup.

See also: Enabling SSH by default on Raspbian Stretch and Raspbian Stretch Headless Setup Procedure on the Raspberry Pi Forums for more information on how to set up SSH with Stretch.


SSH is enabled by default and my rpi assigned address was I downloaded IP scanner for my local network which helped me to find the IP address.

  • 3
    Hi, Can you provide a link to the scanner. Also please try and create grammatical sentences, with capitals, and full stops, so that your answer is easier to read and understand. :)
    – Piotr Kula
    Commented Apr 29, 2014 at 15:11
  • @ppumkin why you do need url? apt-get install nmap would do perfectly.
    – lenik
    Commented Apr 30, 2014 at 3:31
  • 1
    Sorry I was in a hurry yesterday and english isn't my native language..advanced-ip-scanner.com and there's a link for scanner..
    – zsn
    Commented Apr 30, 2014 at 7:04
  • the op said he downloaded a scanner.. where can I download mine. :) @lenik I don't use Linux daily so nmap is not something I fire up daily - any way using it is a whole other answer.
    – Piotr Kula
    Commented Apr 30, 2014 at 8:19
  • @ppumkin - u can get nmap for windows and mac anyway...
    – Wilf
    Commented Jun 12, 2014 at 15:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.