mtchang / rt-n56u

Automatically exported from code.google.com/p/rt-n56u
0 stars 0 forks source link

SSH is not working #1033

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Enable SSH.
2. Try to connect to router using SSH.

What is the expected output? What do you see instead?
To open dropbear. I always receive a connection refused message.

What version of the product are you using? On what operating system?
I tried with version 3.4.3.6-069  and a 3.4.7 that I have compiled.

Please describe the problem as detailed as it's possible.
When I try to connect to my router using SSH it says that my connection was 
refused. It was working normally. Now I am only acessing the router through 
Telnet. This is a bug problem, because I cannot remotelly access my router 
through telnet.

Original issue reported on code.google.com by egcarr...@gmail.com on 17 Oct 2013 at 7:14

GoogleCodeExporter commented 9 years ago
You have Administration - System - Enable SSH Server set to Yes?

Since you can login with telnet, what does this output:
ps | grep dropbear

Original comment by xno...@gmail.com on 17 Oct 2013 at 8:55

GoogleCodeExporter commented 9 years ago
Yep... it is enabled... it was working....

the only outcome to ps | grep dropbear is:

/opt/home/admin # ps | grep dropbear
 2840 admin     1532 S    grep dropbear

when I try ssh admin@router_ip i have the following message on log

Oct 18 00:20:48 dropbear[2827]: Premature exit: Bad buf_getptr

Original comment by egcarr...@gmail.com on 18 Oct 2013 at 3:24

GoogleCodeExporter commented 9 years ago
It's not validated.
I can connect to router over SSH.

Revision: 06282406d9e5 
https://code.google.com/p/rt-n56u/source/detail?r=06282406d9e5b7d00f913a6f2f900c
bf276e96af

Original comment by Dr.Sydorenko.O on 18 Oct 2013 at 11:59

GoogleCodeExporter commented 9 years ago
I solved my problem using a brute force approach. I recompiled the firmware 
replacing dropbear by openssh. Now it is working. 

Original comment by egcarr...@gmail.com on 18 Oct 2013 at 12:23

GoogleCodeExporter commented 9 years ago

Original comment by Dr.Sydorenko.O on 18 Oct 2013 at 1:11