diff options
Diffstat (limited to 'projectroot/etc')
-rw-r--r-- | projectroot/etc/init.d/dropbear | 3 | ||||
-rw-r--r-- | projectroot/etc/rc.once.d/dropbear | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/projectroot/etc/init.d/dropbear b/projectroot/etc/init.d/dropbear index 4dda9aaf7..2039340b2 100644 --- a/projectroot/etc/init.d/dropbear +++ b/projectroot/etc/init.d/dropbear @@ -22,6 +22,9 @@ dropbear_start() { rsa) test -f "$DROPBEAR_RSAKEY" && KEY_ARGS="$KEY_ARGS -r $DROPBEAR_RSAKEY" ;; + ecdsa) + test -f "$DROPBEAR_ECDSAKEY" && KEY_ARGS="$KEY_ARGS -r $DROPBEAR_ECDSAKEY" + ;; *) echo "Key type '$keytype' not supported" ;; diff --git a/projectroot/etc/rc.once.d/dropbear b/projectroot/etc/rc.once.d/dropbear index 0735fed38..b1c40fdbb 100644 --- a/projectroot/etc/rc.once.d/dropbear +++ b/projectroot/etc/rc.once.d/dropbear @@ -30,6 +30,9 @@ gen_keys() { rsa) gen_key rsa "$DROPBEAR_RSAKEY" ;; + ecdsa) + gen_key ecdsa "$DROPBEAR_ECDSAKEY" + ;; *) echo "Key type '$keytype' not supported" ;; |