Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Valued Contributor III
734 Views

ssh stuck during connection

Hello everyone, 

 

I've got a problem concerning the connection with the ssh client to dropbear on uClinux. 

 

What i've done so far: 

compiled dropbear to uclinux 

generated local rsa & dsa keys 

tried to connect with "ssh root@<ip_adress>" 

i get everytime the same output [1] 

then the local client gets stuck and on uclinux has the following process (99,9% cpu time?) 

 

PID PORT STAT SIZE SHARED %CPU COMMAND 

49 R 431K 0K 99.9 /usr/bin/dropbear -i 2 > /dev/null 

 

Anyone any idea why the programm gets stuck there forever or how i can debug it further? 

 

[1] 

Dschingis@ubuntu:/usr/local/projects/uclinux/nios2-linux/uClinux-dist$ ssh -vvv root@192.168.1.10 

OpenSSH_5.3p1 Debian-3ubuntu6, OpenSSL 0.9.8k 25 Mar 2009 

debug1: Reading configuration data /etc/ssh/ssh_config 

debug1: Applying options for * 

debug2: ssh_connect: needpriv 0 

debug1: Connecting to 192.168.1.10 [192.168.1.10] port 22. 

debug1: Connection established. 

debug3: Not a RSA1 key file /home/Dschingis/.ssh/id_rsa. 

debug2: key_type_from_name: unknown key type '-----BEGIN' 

debug3: key_read: missing keytype 

debug2: key_type_from_name: unknown key type 'Proc-Type:' 

debug3: key_read: missing keytype 

debug2: key_type_from_name: unknown key type 'DEK-Info:' 

debug3: key_read: missing keytype 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug2: key_type_from_name: unknown key type '-----END' 

debug3: key_read: missing keytype 

debug1: identity file /home/Dschingis/.ssh/id_rsa type 1 

debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048 

debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048 

debug3: Not a RSA1 key file /home/Dschingis/.ssh/id_dsa. 

debug2: key_type_from_name: unknown key type '-----BEGIN' 

debug3: key_read: missing keytype 

debug2: key_type_from_name: unknown key type 'Proc-Type:' 

debug3: key_read: missing keytype 

debug2: key_type_from_name: unknown key type 'DEK-Info:' 

debug3: key_read: missing keytype 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug3: key_read: missing whitespace 

debug2: key_type_from_name: unknown key type '-----END' 

debug3: key_read: missing keytype 

debug1: identity file /home/Dschingis/.ssh/id_dsa type 2 

debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024 

debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
0 Kudos
0 Replies