summaryrefslogtreecommitdiffstats
path: root/src/os-plugins/plugins/dropbear/XX_dropbear.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/os-plugins/plugins/dropbear/XX_dropbear.sh')
-rw-r--r--src/os-plugins/plugins/dropbear/XX_dropbear.sh13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/os-plugins/plugins/dropbear/XX_dropbear.sh b/src/os-plugins/plugins/dropbear/XX_dropbear.sh
index b43844af..de25a6f0 100644
--- a/src/os-plugins/plugins/dropbear/XX_dropbear.sh
+++ b/src/os-plugins/plugins/dropbear/XX_dropbear.sh
@@ -39,12 +39,13 @@ if [ -e /initramfs/plugin-conf/dropbear.conf ]; then
sed -i /etc/passwd -e "s/bash/sh/"
# convert openssh rsa key to dropbear key - if available
- if [ -e /mnt/etc/ssh/ssh_host_rsa_key ]; then
- dropbearconvert openssh dropbear /mnt/etc/ssh/ssh_host_rsa_key \
- /etc/dropbear/dropbear_rsa_host_key
- else
- dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
- fi
+ #if [ -e /mnt/etc/ssh/ssh_host_rsa_key ]; then
+ # dropbearconvert openssh dropbear /mnt/etc/ssh/ssh_host_rsa_key \
+ # /etc/dropbear/dropbear_rsa_host_key
+ #else
+ dropbearkey -t rsa -f /etc/dropbear/dropbear_rsa_host_key
+ dropbearkey -t dss -f /etc/dropbear/dropbear_dss_host_key
+ #fi
echo "OpenSLX Debugshell (stage3)" >> /etc/motd