summaryrefslogtreecommitdiffstats
path: root/dropbear.pkg/postinst
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-10-19 09:41:53 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-10-19 09:41:53 (EDT)
commit93856f05fe73d9fc40cf103bd03b1606a590dab5 (patch)
tree041c19244afc70598035930609abf981680795b7 /dropbear.pkg/postinst
parent7a25cd8700709c71c1b7bc31ef2a8d1d8451f2eb (diff)
dropbear: Fix key type
Diffstat (limited to 'dropbear.pkg/postinst')
-rw-r--r--dropbear.pkg/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/dropbear.pkg/postinst b/dropbear.pkg/postinst
index d6dd971..c2eaee0 100644
--- a/dropbear.pkg/postinst
+++ b/dropbear.pkg/postinst
@@ -3,7 +3,7 @@
if [ "x${1}" = 'xconfigure' ]; then
update-alternatives --install /usr/bin/ssh ssh /usr/bin/dropbearmulti 10
mkdir -p /etc/dropbear
- for keytype in rsa dsa; do
+ for keytype in rsa dss; do
if ! [ -f "/etc/dropbear/dropbear_${keytype}_host_key" ]; then
/usr/bin/dropbearkey -t "${keytype}" \
-f "/etc/dropbear/dropbear_${keytype}_host_key"