need help with key generation
Matt Johnston
matt at ucc.asn.au
Thu Sep 30 14:18:18 WST 2004
On Wed, Sep 29, 2004 at 08:22:38PM +0000, Pollywog wrote:
> On 09/29/2004 08:01 pm, Marcin Juszkiewicz wrote:
>
> > Yesterday I played a bit with setup to authorize using keys. Zaurus use
> > dropbear 0.44test4, desktop use openssh 3.8.1p1.
> >
> > On Zaurus I used "dropbearkey -t rsa -f ~/.ssh/id_rsa" to generate key.
> > Then "dropbearkey -y -f ~/.ssh/id_rsa" and copied publickey to desktop
> > ~/.ssh/authorized_keys. Desktop id_rsa.pub is added to
> > ~/.ssh/authorized_keys on Zaurus.
>
> I did the same.
> >
> > This allow me to login from desktop to Zaurus via simple "ssh user at zaurus"
> > and from Zaurus to desktop via "ssh -i ~/.ssh/id_rsa user at desktop".
>
> I have no problem logging into the Zaurus, but I can't login to the desktop
> from the Zaurus, I get this:
>
> ssh: connection to lilypad:22 exited: No auth methods could be used.
> Also, the Zaurus never asked for a passphrase when I created the key.
> I am so confused.
Hmm. Either the server's list of auth-methods it sends
doesn't include any which we can use, or Dropbear's handling
of them is broken (I think).
Would it be possible for you to get a copy of Dropbear
compiled with DEBUG_TRACE enabled in debug.h, and run it
with a "-v" flag? That should help in hunting down what's
happening. Alternatively, you could try running the desktop
server with "sshd -p 2244 -ddd" as root, sshing to desktop
port 2244, and looking at those debug logs.
Thanks,
Matt
More information about the Dropbear
mailing list