Public Key Authorization Failure

Wim Vinckier wimpunk at gmail.com
Tue Jan 20 16:48:03 WST 2009


On Mon, Jan 19, 2009 at 9:43 PM, Kyle Marx <kmarks2 at gmail.com> wrote:

> Hey,
>    Before anyone flames me, I've read every message in the archive.  That
> said, I am running v0.50 on a TS-7260 ARM9 embedded computer.
>    My problem is that I cannot produce passwordless login from the embedded
> device (A) to my server (B).  I have tried everthing listed.  I first used
> dropbearkey to create private and public keys on the embedded device (A).  I
> appended the pub key to authorized keys on the server (B).
>   My problem is similar to that of 2Q2008 by G*uillaume Dargaud*'s
> problem.  Here is a rundown:
>
> Generate keys on the embedded device A:
> A$ dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_key
> A$ dropbearkey -y -f /etc/dropbear/dropbear_rsa_key | head -2 | tail -1 >
> /etc/dropbear/dropbear_rsa_key.pub
> A$ shutdown -r now
>
> I then append this public key to my authorized keys list on the server, B
> B$ scp user at A:/etc/dropbear/dropbear_rsa_key.pub /tmp/dropbear_rsa_key.pub
> B$ cat /tmp/dropbear_rsa_key.pub >> ~/.ssh/authorized_keys
> B$ services sshd restart
>
> Now attempt a passwordless login to B from A:
> A$ dbclient user at B
> userB@'s password:
>
> It still prompts for a password.  Is this broken?
>
> Kyle
>


Are you sure your permissions are correct on the files?
I've never used system wide rights, I use personal keys in .ssh but it works
for me with a ts7260 board.

wim.
-- 
I would love to change the world, but they wont give me the source code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ucc.gu.uwa.edu.au/pipermail/dropbear/attachments/20090120/f011024b/attachment.htm 


More information about the Dropbear mailing list