On Mon, 24 Aug 2009 14:21:51 -0400 b2112 <[email protected]> wrote:
<snipp> > I don't know where to place my host keys and what to call them. My root > filesystem is read only and I have a .ssh directory at the root. > > Is there a procedure available that explains the names of the associated > config and/or keys files and where they need to be placed on the target file > system. > On my system I have the keys in /etc/dropbear ~ > ls -la /etc/dropbear total 8 -rw------- 1 root root 457 2009-01-16 14:21 dropbear_dss_host_key -rw------- 1 root root 427 2009-01-16 14:21 dropbear_rsa_host_key From the README file in dropbear source code: To run the server, you need to generate server keys, this is one-off: dropbearkey -t rsa -f dropbear_rsa_host_key dropbearkey -t dss -f dropbear_dss_host_key or alternatively convert OpenSSH keys to Dropbear: dropbearconvert openssh dropbear /etc/ssh/ssh_host_dsa_key dropbear_dss_host_key Location of where to store the keys is configured by #ifndef DSS_PRIV_FILENAME #define DSS_PRIV_FILENAME "/etc/dropbear/dropbear_dss_host_key" #endif #ifndef RSA_PRIV_FILENAME #define RSA_PRIV_FILENAME "/etc/dropbear/dropbear_rsa_host_key" #endif which you'll find in options.h in the source code. Happy dropbearing (-: <snipp> -- Best regards, Hans-Christian Egtvedt
