Hello,
Is there a trick to getting SSH keys working with dropbear? I've only used them with the OpenSSH sshd before, and I can't seem to get it to work.
On the Kindle, in /tmp/root aka /var/tmp/root (root's home), I have:
Code:
[root@kindle root]# ls -ld .ssh
drwx------ 2 root root 60 Oct 6 22:49 .ssh
[root@kindle root]# ls -ld .ssh/*
-rw-r--r-- 1 root root 391 Oct 6 22:54 .ssh/authorized_keys
The authorized_keys file contains the key from my id_rsa.pub. I see that dropbear only supports SSHv2, but the man page for ssh-keygen on my machine says, "If invoked without any arguments, ssh-keygen will generate an RSA key for use in SSH protocol 2 connections," so I assume that's what I have. Is there some way to check this, though? It's been a while since I generated that key.
I can post the full output of ssh -vvv if needed but there really doesn't seem to be much of use there, the relevant bit is:
Code:
debug1: Next authentication method: publickey
debug1: Offering RSA public key: /home/eli/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Authentications that can continue: publickey,password
...and then it asks me for the password. Any assistance would be appreciated.