> From: [EMAIL PROTECTED]
> To: [email protected]
> 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:
> [EMAIL PROTECTED] $ ssh -x [EMAIL PROTECTED] "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.
>
> [EMAIL PROTECTED] # ssh [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
-snafu
_________________________________________________________________
Express yourself wherever you are. Mobilize!
http://www.gowindowslive.com/Mobile/Landing/Messenger/Default.aspx?Locale=en-US?ocid=TAG_APRIL