<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2658.24">
<TITLE>RE: Password-less setup</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Use the the dbclient -i option and use the private key you generated.</FONT>
<BR><FONT SIZE=2>If that doesn't work, recompile the dbclient with debug enabled.</FONT>
</P>
<P><FONT SIZE=2>Jim</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: dropbear-bounces@ucc.asn.au [<A HREF="mailto:dropbear-bounces@ucc.asn.au">mailto:dropbear-bounces@ucc.asn.au</A>] On Behalf Of Philip Trickett (List)</FONT>
<BR><FONT SIZE=2>Sent: Thursday, April 28, 2005 7:09 PM</FONT>
<BR><FONT SIZE=2>To: dropbear@ucc.asn.au</FONT>
<BR><FONT SIZE=2>Subject: Password-less setup</FONT>
</P>
<P><FONT SIZE=2>Hi,</FONT>
</P>
<P><FONT SIZE=2>I am trying to set up a dropbear client to log into a host using key based authentication.</FONT>
</P>
<P><FONT SIZE=2>I have generated the key:</FONT>
<BR><FONT SIZE=2>dropbearkey -t rsa -f db_key -s 1024</FONT>
</P>
<P><FONT SIZE=2>public key:</FONT>
<BR><FONT SIZE=2>dropbearkey -y -f db_key > db_key.pub </FONT>
</P>
<P><FONT SIZE=2>copied to the host I want to long into and then:</FONT>
<BR><FONT SIZE=2>cat db_key.pub >> .ssh/authorized_keys</FONT>
</P>
<P><FONT SIZE=2>However, when I try to login, i still get asked for a password.</FONT>
</P>
<P><FONT SIZE=2>I have run sshd in debug mode on the server, looked in all the logs etc.</FONT>
<BR><FONT SIZE=2>but there are no error messages related to the keys.</FONT>
<BR><FONT SIZE=2>(The sshd on the server is openssh)</FONT>
</P>
<P><FONT SIZE=2>Would anyone have any ideas on this?</FONT>
</P>
<P><FONT SIZE=2>Thanks,</FONT>
<BR><FONT SIZE=2>Phil</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>--<BR>
No virus found in this outgoing message.<BR>
Checked by AVG Anti-Virus.<BR>
Version: 7.0.308 / Virus Database: 266.10.4 - Release Date: 4/27/2005<BR>
</FONT>
</P>
</BODY>
</HTML>