commit 28fce08e232a14fc76f1642cdcb447d2eaab17e9 parent 0cdb5ccc0924b3d9ce7b54f0230fdbea668b979b Author: sin <sin@2f30.org> Date: Mon, 23 Sep 2013 17:05:28 +0100 Remove dropbearkeys Diffstat:
D | etc/dropbearkeys | | | 19 | ------------------- |
1 file changed, 0 insertions(+), 19 deletions(-)
diff --git a/etc/dropbearkeys b/etc/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