dropbear with keys

Matt Johnston matt at ucc.asn.au
Sun Feb 12 13:31:55 WST 2006


On Sat, Feb 11, 2006 at 11:10:56AM -0800, Smiff wrote:
> Hi,
>  
>  I installed dropbear client on computer A. I then used SSH to login to computer B as user1. It worked but it prompted me for a password.
>  
>  I don't want to be prompted, I want to use Public Private key. So I do dropbearkey -t rsa -f myfile. This created a encrypted myfile and printed a key to the screen. I copied the printed key to computer B and pasted it into ~user1/.ssh/authorized_keys file, I also changed /etc/ssh/ssh_config to have PasswordAuthentication no. I then restarted the sshd on computer B.
>  
>  but when I try to SSH into it again, like last time it says "No auth methods could be used" -- I suspect dropbear client (ssh) cannot see it's private key, where must I place the file and what must it be called?

Does "dbclient -i myfile user at remotehost" work? There isn't
a default path at the moment.

Matt


More information about the Dropbear mailing list