Skip to content

SSH not allowing connections from Windows(Putty), but fine from iOS/OSX and Android/Linux

I couldn't find a subreddit for ArchLinux ARM, so I figured this would work. After setting up my RPI, I noticed I couldn't get into it. I decided to connect via localhost. Worked. So I pulled out my Tablet, and it worked as well. iOS/OSX/Linux/Android devices can all connect no problem, but my two Windows machines cannot even ping it. I've never had an issue occur like this and I couldn't find a solution. Has anyone else ever encountered this?

-- Edit -- Solved thanks to Brownej. It was an issue related to my wnr2000v3 router running DD-WRT. Not the first issue I've had related to it. Thank you very much!

Edited 13 Mar 2014. We only hold this version.

6 points7 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
6 · 100% up
Kind
Text
ID
20622b

Author

3
posts
11
comments
0
media
View profile

7 comments

Different subnets? If the windows machine cannot ping the Linux machine it seems to be a networking problem.

5 points

I had a very similar problem myself (could not connect/ping to a RPi running raspbian from my desktop running windows, but could from my laptop running ubuntu). I thought it was a windows/linux problem, but it turns out it was a problem with my router (netgear wnr2000v3 running dd-wrt build 18777). There was a bug in that build (which was the latest that router could run), which did not allow access from a wired machine to another wired machine (but wireless->wired, wireless->wireless, wired->wireless all worked). If you have a similar setup, try the following in the console in <router ip>/Diagnostics.asp

swconfig dev eth1 set enable_vlan 1;
swconfig dev eth1 set apply;

If not, the fact that you can't ping the device still points to it being a network problem.

3 points

You sir, are a god among men. I'm also running wnr2000v3 running DD-WRT. This fixed my issue. I had to do iptables at one point as well on the startup for a few things back in the past. Not sure why i didn't ever think about messing with this.

Thank you very much!

1 points

I'd start by running tracert from the windows machine to see if its a routing issue. Then I'd try an nmap scan against it from the windows machines. Finally, I'd fire up tcpdump or wireshark on the linux box and filter on the windows machine's IP and try to ping it from the windows box. See if the packets are even making it across the wire to it.

2 points

did you recently re-install? I've encountered this after a re-install, but before I've copied my ssh-id.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.