Please consider applying this patch to dropbear. It will dynamically create the dropbear host key files if they don't exist. This is EXTREMELY useful for bringup from scratch. If you don't have access to the serial port, at least you can ssh into the box. I wish I had had it today.
With this change, there is no need for gendropbearkeys anymore. rm gendropbearkeys cvs rm gendropbearkeys Index: buildtool.cfg =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/dropbear/buildtool.cfg,v retrieving revision 1.9 diff -u -r1.9 buildtool.cfg --- buildtool.cfg 26 Jun 2006 17:56:31 -0000 1.9 +++ buildtool.cfg 8 Sep 2006 04:54:58 -0000 @@ -17,12 +17,6 @@ Directory = dropbear </File> -<File gendropbearkeys> - Server = cvs-sourceforge - Revision = HEAD - Directory = dropbear -</File> - <File dropbear.init> Server = cvs-sourceforge Revision = HEAD @@ -99,12 +93,6 @@ Type = link </File> <File> - Source = usr/bin/gendropbearkeys - Filename = usr/bin/gendropbearkeys - Type = binary - Permissions = 755 - </File> - <File> Filename = etc/dropbear Type = directory Type = local Index: dropbear.init =================================================================== RCS file: /cvsroot/leaf/src/bering-uclibc/apps/dropbear/dropbear.init,v retrieving revision 1.1 diff -u -r1.1 dropbear.init --- dropbear.init 1 Jul 2004 14:40:54 -0000 1.1 +++ dropbear.init 8 Sep 2006 04:54:58 -0000 @@ -20,10 +20,12 @@ if [ -n "$DB_RSAFILE" ]; then DB_OPTIONS="$DB_OPTIONS -r $DB_RSAFILE" + test -f $DB_RSAFILE || dropbearkey -t rsa $DB_RSAFILE fi if [ -n "$DB_DSSFILE" ]; then DB_OPTIONS="$DB_OPTIONS -d $DB_DSSFILE" + test -f $DB_DSSFILE || dropbearkey -t dss $DB_DSSFILE fi if [ -n "$DB_BANNER" ]; then ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ leaf-devel mailing list leaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/leaf-devel