#check if a dss host key exists, create one if not
if [ ! -f /etc/dropbear/dropbear_dss_host_key ]; then
	dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key	
fi

#check if a rsa host key exists, create one if not
if [ ! -f /etc/dropbear/dropbear_rsa_host_key ]; then
	dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
fi

#start up the server, but output all error messages to stderr
dropbear -E
