This is the latest version of dropbear v0.38, optimized for size. The author's, Matt Johnston, home page is: http://matt.ucc.asn.au/dropbear/dropbear.html For more information, see README.orig. Change log: http://matt.ucc.asn.au/dropbear/CHANGES Built with glibc 2.1.3. configure command line: # CC=gcc CFLAGS='-Os' \ ./configure \ --disable-zlib --disable-lastlog \ --disable-utmp --disable-utmpx --disable-wtmp --disable-wtmpx \ --disable-shadow \ --disable-libutil \ --disable-openpty options.h was modified (see options.h.diff), and: + X11 forwarding disabled + encription 3DES and BLOWFISH supported, AES128 and TWOFISH128 disabled + integrity SHA1 supported, MD5 disabled + DSS, RSA and password authentication supported (password and RSA verified) + MOTD disabled + SFTP disabled + this is a multi-purpose binary (DROPBEAR_MULTI enabled) with dropbear and dropbearkey executables combined in dropbearmulti; dropbear and dropbearkey are actually symbolic links pointing to dropbearmulti The ELF executable (dropbearmulti) is sstripped and upx-ed. There are pre-dropbear.ini and a post-dropbear.ini scripts. Both may be required, for now. This is what pre-dropbear.ini does: + creates a real home directory /root for user root + modifies the /etc/passwd file to reflect the 'root' user's new home directory + creates the .ssh subdirectory under /root; that's where the authorized_keys file will be copied to (put your own authorized_keys in the /packages directory on the floppy, and it will be copied to the right place) + finaly copies the authorized_keys file to the right place Note: you'll need to edit the script and set the DES_PWD variable to something sensible, if you want to use password authentication. Note: you need a VFAT formated floppy for this to work. The file authorized_keys does not follow the brain dead 8.3 doz convention; of course you can modify the script to do otherwise. Warning: if you want to modify the script, notepad won't work; you'll probably need a real word processor to modify the 30 lines long script ;-) post-dropbear.ini will copy the DSS and RSA host keys it finds in the /packages directory on the floppy to the right place. The keys on the floppy should be named drop_dss.key and/or drop_rsa.key. Any host keys not found in /packaces on the floppy will be generated at boot. Note: starting with v0.38, the host key files are relocated to the /etc/dropbear directory (from earlier /etc). Tips: mount the floppy after the first boot and copy the generated host keys to it. Should you have any comments and/or questions, throw them at me and I'll try to answer to the best of my abilities ;-) Enjoy, Cristian