DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-02-09 20:43:57

thmoscow
New member
Registered: 2008-02-09
Posts: 2
Website

fonz 0.4-test Dropbear SSH root password does not work

Hello, I've install fonz 0.4 into a clean DNS-323, I set root password though telnet (passwd command) but could not log into SSH.

I am using Putty under Windows to log into telnet and SSH. The public key was imported OK.

Offline

 

#2 2008-02-09 20:45:41

thmoscow
New member
Registered: 2008-02-09
Posts: 2
Website

Re: fonz 0.4-test Dropbear SSH root password does not work

Strangely enough, I tried logging from another distant server - not from my Windows box and it was OK.

What is this behavior related to?

Offline

 

#3 2008-02-09 22:21:24

jules
Member
Registered: 2008-01-26
Posts: 78

Re: fonz 0.4-test Dropbear SSH root password does not work

Hi, have you installed the dropbear addon?
If not, take it from here http://www.inreto.de/dns323/fun-plug/0.4-test/addons/ , and install it using funpkg.sh.


CH3SNAS - Black Box Ed. • FW:1.03b6a • 2 x WD5000AAKS

Offline

 

#4 2008-03-12 01:04:49

gbellini
Member
Registered: 2008-03-01
Posts: 6

Re: fonz 0.4-test Dropbear SSH root password does not work

Hi all
,
I've fonz 0.5 experimental (thank you fonz for your great work).

thmoscow I've your same problem with putty v0.60 under different pcs running windows.

Then I tried to connect from another pc (linux's ssh this time) without problems.

But guess what. With a different client (E.G. zoc for windows) I had no problems at all...

this what I've got from syslog:

Mar 11 22:46:23 DNS-323 authpriv.info dropbear[10412]: Running in background
Mar 11 22:46:45 DNS-323 authpriv.info dropbear[10421]: Child connection from 192.168.2.200:2484                                <=== connecting using putty
Mar 11 22:46:51 DNS-323 authpriv.notice dropbear[10421]: password auth succeeded for 'root' from 192.168.2.200:2484
Mar 11 22:46:52 DNS-323 authpriv.info dropbear[10421]: exit after auth (root): Exited normally
Mar 11 22:49:06 DNS-323 authpriv.info dropbear[10434]: Child connection from 192.168.2.200:2493                                <=== connecting using zoc
Mar 11 22:49:07 DNS-323 authpriv.notice dropbear[10434]: password auth succeeded for 'root' from 192.168.2.200:2493
Mar 11 22:50:00 DNS-323 cron.notice crond[1724]: USER root pid 10444 cmd /usr/sbin/getdhcp&
Mar 11 22:51:24 DNS-323 authpriv.info dropbear[10449]: Child connection from 172.31.202.51:38692                              <=== connecting using linux ssh client
Mar 11 22:51:42 DNS-323 authpriv.notice dropbear[10449]: password auth succeeded for 'root' from 172.31.202.51:38692
Mar 11 22:53:05 DNS-323 authpriv.info dropbear[10464]: Child connection from 172.31.101.41:6743                                <=== connecting using putty
Mar 11 22:53:12 DNS-323 authpriv.notice dropbear[10464]: password auth succeeded for 'root' from 172.31.101.41:6743
Mar 11 22:53:13 DNS-323 authpriv.info dropbear[10464]: exit after auth (root): Exited normally

after few minutes I closed the two working sessions:
Mar 11 22:57:20 DNS-323 authpriv.info dropbear[10434]: exit after auth (root): Exited normally
Mar 11 22:57:32 DNS-323 authpriv.info dropbear[10449]: exit after auth (root): Exited normally

that's a very strange behaviour

somebody has any clue?

Have you solved this ?
Thanks
BG

Offline

 

#5 2008-03-15 12:46:46

gbellini
Member
Registered: 2008-03-01
Posts: 6

Re: fonz 0.4-test Dropbear SSH root password does not work

Hello anybody...

could someone help me with this?

Putty soon after authenticates the user close the session without any warning...

fonz can you give me some advice?

Thanks,
BG

Offline

 

#6 2008-03-17 02:01:02

ojve
Member
Registered: 2008-03-02
Posts: 28

Re: fonz 0.4-test Dropbear SSH root password does not work

In my experience this often has to do with file permissions (at least if you're a noob like me). Check that the user has access both to his home directory and the directory where the shell is.

//T

Last edited by ojve (2008-03-17 02:01:34)

Offline

 

#7 2008-03-17 23:08:03

gbellini
Member
Registered: 2008-03-01
Posts: 6

Re: fonz 0.4-test Dropbear SSH root password does not work

hi ojve,
thanks for your answer.

I'm a noob as you guessed... (whe are and always will be noob ;-D, we'll never stop learning...)

the weird is that using ssh client under a linux station I can connect and also using different shareware soft (e.g. securecrt or zoc) under windows without any problem at all.

which permission you are talking about? Dropbear can be executed by all and the owner is root...

still waiting for an answer... sad

BG

Offline

 

#8 2008-03-18 09:30:42

ojve
Member
Registered: 2008-03-02
Posts: 28

Re: fonz 0.4-test Dropbear SSH root password does not work

look in /etc/passwd, the user should have access to both the files mentioned in his/her entry there.

Although, this probably isn't the problem if you can log in using other applications...

//T

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB