exit before auth: error

shm bhavanamanohar at gmail.com
Fri Nov 8 17:39:42 WST 2013


Hi,
I am using dropbear to establish passwordless  connection between two
embedded linux targets connected via Gigabit Ethernet. I created the host
key in both nodes using

	dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key


I started dropbear in both nodes by 
	dropbear -s -g command

 When I try to login from one node (192.168.10.6) to other (192.168.10.7) using

	dbclient -i /etc/dropbear/dropbear_rsa_host_key root at 192.168.10.7

I get the following messages in 192.168.10.6
“Host '192.168.10.7' is not in the trusted hosts file.
(fingerprint md5 e8:64:8c:b4:6a:13:11:8e:e0:71:c2:a3:11:62:40:9b)
Do you want to continue connecting? (y/n) dbclient: connection to
root at 192.168.10.7:22 exited: Didn't validate host key”
 

and the following messages in 192.168.10.7
“[1189] Jan 01 02:55:05 Not backgrounding
[1194] Jan 01 02:55:09 Child connection from 192.168.10.6:51022
[1194] Jan 01 02:55:09 exit before auth: error reading: Connection reset by
peer”


When I try to login back  from node (192.168.10.7) to other (192.168.10.6) using

dbclient -i /etc/dropbear/dropbear_rsa_host_key 192.168.10.6


I get the following messages in 192.168.10.7
“dbclient: connection to root at 192.168.10.6:22 exited: No auth methods could
be used.”

and the following messages in 192.168.10.6 
“sh-3.2# [1229] Jan 01 02:57:24 Child connection from 192.168.10.7:55984
[1229] Jan 01 02:57:24 exit before auth (user 'root', 0 fails): Exited normally”

I am new to this. Could anyone please help me to solve this ?



More information about the Dropbear mailing list