Dropbear key problem

John Smith snafu_101 at hotmail.com
Wed Apr 30 19:36:04 WST 2008

> From: dargaud at lpsc.in2p3.fr
> To: dropbear at ucc.asn.au
> Subject: Dropbear key problem
> Date: Tue, 29 Apr 2008 15:54:37 +0200
> Hello all,
> I have dropbear installed on a target embedded system. It replaces both ssh 
> and sshd.
> I can put the public key of my host onto my target authorized_keys and then
> I can login without password as expected from the host to the target. Great.
> The reverse doesn't work.
> I tried this from the host:
> user at host $ ssh -x root at target "dropbearkey -y -t dss -f
> /etc/dropbear/dropbear_dss_host_key | tail -2 | head -1"
>  >>~/.ssh/authorized_keys
> I understand the private keys of dropbear are
> /etc/dropbear/dropbear_*_host_key and need to be converted before they can
> be used by OpenSSH.
> root at target # ssh user at host
> will ignore the key and ask for a password.
> Unfortunately there's no option '-v' in the ssh client of dropbear that
> could tell me why it still insists on asking for my password...
> -- 
> Guillaume Dargaud
> http://www.gdargaud.net/

You have to tell the dropbear ssh client specifically which key file to use:

 ssh -i /home/root/.ssh/id_rsa user at host.whatever

Express yourself wherever you are. Mobilize!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20080430/5797d383/attachment.htm 

More information about the Dropbear mailing list