PDA

View Full Version : [ubuntu] SSH error password incorrect



1nooodlse
September 23rd, 2009, 08:08 AM
I am having trouble logging into my ssh

It works fine if I use:
"ssh kidney@kidney-ubuntu"
"ssh localhost"
"ssh -l kidney@kidney-ubuntu"
"ssh kidney@192.168.1.my-computer"

but if I get this error using my external ip:

kidney@kidney-ubuntu:~$ ssh kidney@my.external.ip.here
DD-WRT v23 SP2 std (c) 2006 NewMedia-NET GmbH
Release: 09/15/06 (SVN revision: 3932)
kidney@71.92.165.177's password:
Permission denied, please try again.
kidney@71.92.165.177's password:
Permission denied, please try again.
kidney@71.92.165.177's password:
Permission denied (publickey,password)

I have found similar problems elsewhere in the forums but none of them have worked

robert_pectol
September 23rd, 2009, 08:14 AM
Here's a clue:

DD-WRT v23 SP2 std (c) 2006 NewMedia-NET GmbH
Release: 09/15/06 (SVN revision: 3932)
Your router, running DD-WRT, is intercepting the SSH connection so you are inadvertently attempting to login to your router, not your box. The appropriate port forwarding will resolve your issue.

Robert

1nooodlse
September 23rd, 2009, 08:21 AM
I forwarded the port on my router but i am still getting the error i think i need to contact my isp

robert_pectol
September 23rd, 2009, 08:40 AM
Disable the SSH server in your DD-WRT router or change the port on which it listens and it'll probably work.

Robert

1nooodlse
September 23rd, 2009, 08:42 AM
i think that router is for my isp they block all of the port there, i may be wrong but i don't think there is an ssh server on a linksys wrt54gs router

thanks for your help i think i can fix the problem now

robert_pectol
September 23rd, 2009, 08:54 AM
My guess is that the WRT54Gs IS the DD-WRT router. DD-WRT is a third-party firmware designed to replace the standard Linksys firmware on many of their routers. It's open-source and Linux based. Your WRT54Gs is probably running DD-WRT. Did your ISP provide that router for you? It seems a bit odd that you would be running DD-WRT without knowing it, especially if it is your own router and not something they provided. Maybe they did though. At any rate, it is obvious that when you attempt to establish an SSH connection from outside, a router running DD-WRT is intercepting it. Whether it's your box or theirs, that's what is happening. Good luck.

Robert

1nooodlse
September 23rd, 2009, 09:03 AM
my router has the original firmware i think i am behind another gateway from my isp. It says it's a servgate point force managment console everything but the front page is locked. I'll just contact my isp and see what i can do.