commit 7779737b1951bd17208d511b9df74a1d21a54e9c parent e31b8c428aaaeca1dd53dd902d3651774255494b Author: sin <sin@2f30.org> Date: Thu, 13 Feb 2014 12:34:04 +0000 Remove dropbearkeys Diffstat:
D | stuff/dropbearkeys | | | 19 | ------------------- |
1 file changed, 0 insertions(+), 19 deletions(-)
diff --git a/stuff/dropbearkeys b/stuff/dropbearkeys @@ -1,19 +0,0 @@ -makekey() { - key=$1 - if [ "$key" = "rsa" ] ; then - bits=2048 - else - bits=1024 - fi - filename=dropbear_${key}_host_key - rm -f ${filename}.pub - rm -f ${filename} - dropbearkey -s $bits -t $key -f ${filename} | tail -n2 > ${filename}.pub -} - -dbdir=/etc/dropbear -mkdir -p $dbdir -cd $dbdir -makekey rsa -makekey dss -cd - &>/dev/null