Problem when connecting from client openssh to server dropbear

Matt Johnston matt at ucc.asn.au
Wed Apr 19 21:04:02 WST 2006


On Wed, Apr 19, 2006 at 02:57:27PM +0200, Pedro Aguilar wrote:
> Hi,
> 
> I installed dropbear 0.48.1 in a MIPS AU1550 without problems. I can
> execute the server normally with -s -g options because there is only the
> root user: 
> $ dropbear -E -s -g
> 
> When I try to connect from a desktop using openssh I have a publickey
> problem.
> 
> Desktop:
> $ ssh root at 192.168.1.30
> Permission denied (publickey).
> $
> 
> The logs in the server (the MIPS) are:
> # [126] Jan 01 02:05:30 Child connection from 192.168.1.31:35944
> [126] Jan 01 02:05:31 exit before auth: Exited normally
> 
> I generated the keys in the server with 
> $ dropbear -t rsa -f /etc/dropbear/dropbear_rsa_host_key
> $ dropbear -t dss -f /etc/dropbear/dropbear_dss_host_key

Those are the server's own keys that it uses to identify
itself to the client.

I assume you've already got a ~/.ssh/id_rsa or ~/.ssh/id_dsa
on the desktop computer?  You have to put the .pub public
key portion of that key in /root/.ssh/authorized_keys on the
server, with correct permissions. (Paths may vary depending
on the user setup).  Dropbear exits straight away because it
won't allow a password with -s -g, and there's no public key
it can check.

Cheers,
Matt


More information about the Dropbear mailing list