Reply
Thread Tools
Posts: 30 | Thanked: 3 times | Joined on Jan 2006
#1
Hi, I've installed dropbear and am trying to ssh remotely from a linux laptop so I can run some rsync scripts. I am following these instructions
http://maemo.org/maemowiki/HowDoiBecomeRoot2

I was able to login from the laptop, run a lot of the commands. But before I got to the step where I disabled root login (i.e., passwd -l root), I wanted to confirm that I could login as user from my laptop. Unfortunately, it no longer seems possible to connect as ANY user (even though running "sudo su -" directly on the 770 itself lets me instantly switch to root. Interestingly, the debug logs of the session shows that it accepted my password, and just hung. (see logs below)

Any ideas what is going on?

rj


[rj2nagle@localhost trunk]$ ssh -v root@192.168.2.102
OpenSSH_4.3p2, OpenSSL 0.9.8a 11 Oct 2005
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to 192.168.2.102 [192.168.2.102] port 22.
debug1: Connection established.
debug1: identity file /home/rj2nagle/.ssh/identity type -1
debug1: identity file /home/rj2nagle/.ssh/id_rsa type -1
debug1: identity file /home/rj2nagle/.ssh/id_dsa type -1
debug1: Remote protocol version 2.0, remote software version dropbear_0.48-1mad
debug1: no match: dropbear_0.48-1mad
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host '192.168.2.102' is known and matches the RSA host key.
debug1: Found key in /home/rj2nagle/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey,password
debug1: Next authentication method: publickey
debug1: Trying private key: /home/rj2nagle/.ssh/identity
debug1: Trying private key: /home/rj2nagle/.ssh/id_rsa
debug1: Trying private key: /home/rj2nagle/.ssh/id_dsa
debug1: Next authentication method: password
root@192.168.2.102's password:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.

debug1: Sending environment.
debug1: Sending env LANG = en_US.UTF-8
**********(this is where it freezes. Afterwards is what happens when I press any key)
************************************************** *********************************
debug1: channel 0: free: client-session, nchannels 1
Connection to 192.168.2.102 closed by remote host.
Connection to 192.168.2.102 closed.
debug1: Transferred: stdin 0, stdout 0, stderr 89 bytes in 15.9 seconds
debug1: Bytes per second: s
 
johsua's Avatar
Posts: 449 | Thanked: 18 times | Joined on Apr 2006 @ Eureka, CA
#2
I had the same type of problem with dropbear. Switch to openssh.
 

The Following User Says Thank You to johsua For This Useful Post:
Posts: 30 | Thanked: 3 times | Joined on Jan 2006
#3
a dumb question. If I remove dropbear, am I removing the root password and user password I created?
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:52.