[raspberry-vi] Re: can't ssh into RPI

  • From: Tim Chase <raspberry-vi@xxxxxxxxxxxxxxxxx>
  • To: raspberry-vi@xxxxxxxxxxxxx
  • Date: Sun, 17 Mar 2013 19:20:11 -0500

On March 17, 2013, Glenn wrote:
> and it looks like the RPI is using:
> 192.168.0.119

Just making sure that you're using your router's web (or CLI)
interface to get the address of the RPi, rather than using "ipconfig"
to get it.  If you used ipconfig, it would return your local
machine's IP address, which would behave the way you see:

> I ping that address and it reports all four times that the data
> comes back okay.

it would be pinging your own machine, so obviously getting responses,
then

> So I go into putty and enter:
> 192.168.0.119
> and I get the fatal error that the network is refused.

refusing the SSH connection because you don't have an SSH server on
your local PC.

My understanding is that the latest Raspbian (which you say you're
running) *should* come up with sshd enabled by default, so there are
a couple possibilities that occur to me:

1) you've got the wrong IP address for the RPi

2) your router is blocking internal SSH (unlikely, but possible)

3) you're running an older Raspbian image than you think, and it
doesn't have SSH enabled.


I'd install a copy of "nmap" for Windows

  http://nmap.org/book/inst-windows.html

and have it scan your local network for machines:

  nmap -p22 192.168.0.0/24

to have it report back which machine(s) have SSH open/listening.

-tim













=========================================================== 
The raspberry-vi mailing list 
Archives: //www.freelists.org/archives/raspberry-vi
Administrative contact: <mike.ray@xxxxxxxxxxxxxx>
-----------------------------------------------------------
Raspberry Pi and the Raspberry Pi logo are trademarks of the Raspberry Pi 
Foundation.

This list is not affiliated to the Raspberry Pi Foundation and the views and 
attitudes expressed by the subscribers to this list do not reflect those of the 
Foundation.

Mike Ray, list creator, January 2013

Other related posts: