[quote=“integlikewhoa, post:26, topic:180260”]Wow, thanks for the help. I was able to telnet in but SHH I was getting a “Server unexpectedly closed network connection” and couldnt get in with putty. But Reading what you posted I see a few things I need to try.
I see it says login in as “root” before you download putty? My login is not root to get into the web UI on the router is that ok?
Also in Putty I never found a place to enter user or password. Is that because I didn’t get that far or is it done before the connection?
I did have SSHd enabled and password login enabled (did try disabled to tho) and ports in router and putty set to 22. When I hit enter tho I got a connection error rather then a login screen.
I’ll try again when I get home.[/quote]
Sorry, i haven’t used dd-wrt in a while so i’m not sure if it still grants SSH access under the root username if you change the web login. My guess (and hope) is yes?
Yeah, if you were never prompted for a login, that means you didn’t make it that far. Login prompt for SSH only happens after the connection is made. You’ll see a black screen asking you for the username (login as:).
If you’re certain everything on the web interface is configured properly, the SSH service on your particular dd-wrt install might be having problems and isn’t running or is actively being blocked elsewhere in your router settings. I’ve run into similar problems before on really old builds of dd-wrt.
You can test if SSH is accessible from a windows machine by running:
Start → CMD → telnet 192.168.1.1 22
Where 192.168.1.1 is your router’s address and 22 is the SSH port you’re trying to use. If your router’s SSH is working properly, you’ll see a black window that says “SSH blah blah blah.” Otherwise, you’ll see a message saying connect failed.
The telnet client is available by default for windows machines, but for anything newer than Vista, you may need to turn it on by going to Control Panel → Programs and Features → Turn Windows features on or off