Magellan Linux

Diff of /alx-src/branches/alxconf-060/functions/config_ssh_auth.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3483 by niro, Wed May 18 14:35:26 2011 UTC revision 3484 by niro, Mon Apr 16 08:45:02 2012 UTC
# Line 5  gen_keys() Line 5  gen_keys()
5  {  {
6   if [ ! -e /etc/dropbear/dropbear_dss_host_key ]   if [ ! -e /etc/dropbear/dropbear_dss_host_key ]
7   then   then
8   echo -e ${COLOREDSTAR}"Generating DSS-Hostkey ..."   rc_print "Generating DSS-Hostkey ..."
9   dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key   dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
10   fi   fi
11    
12   if [ ! -e /etc/dropbear/dropbear_rsa_host_key ]   if [ ! -e /etc/dropbear/dropbear_rsa_host_key ]
13   then   then
14   echo -e ${COLREDSTAR}"Generating RSA-Hostkey ..."   rc_print "Generating RSA-Hostkey ..."
15   dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key   dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
16   fi   fi
17  }  }

Legend:
Removed from v.3483  
changed lines
  Added in v.3484